changed error log message

This commit is contained in:
Henry Oswald 2014-02-17 18:50:28 +00:00
parent 5b49ec1144
commit 1ff5a5adb8

View file

@ -43,7 +43,12 @@ app.use (req, res, next) ->
url:req.url url:req.url
key: req.key key: req.key
statusCode: req.statusCode statusCode: req.statusCode
err.domainEmitter.res = "to big to log" err =
message: err.message
stack: err.stack
name: err.name
type: err.type
arguments: err.arguments
logger.err err:err, req:req, res:res, "uncaught exception thrown on request" logger.err err:err, req:req, res:res, "uncaught exception thrown on request"
requestDomain.run next requestDomain.run next