Comparing version
@@ -31,3 +31,3 @@ | ||
let { log, res } = input; | ||
const { log, res } = input; | ||
@@ -39,3 +39,4 @@ err = anythingToError(err); | ||
log.error({ type: 'route', err: input.res.err }); | ||
log.error({ method: input.res.req.method, path: input.res.req.path, | ||
headers: input.res.req.headers, type: 'route', err: input.res.err }); | ||
@@ -42,0 +43,0 @@ if(!res.finished) |
{ | ||
"name": "nodecaf", | ||
"version": "0.11.9", | ||
"version": "0.11.10", | ||
"description": "Nodecaf is a light framework for developing RESTful Apps in a quick and convenient manner.", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
40597
0.25%610
0.16%