From 1ff5a5adb827110722c7de7e33841dc22ebfcc7c Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 17 Feb 2014 18:50:28 +0000 Subject: [PATCH] changed error log message --- services/filestore/app.coffee | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/services/filestore/app.coffee b/services/filestore/app.coffee index 63b7f510ef..fc6cce6ede 100644 --- a/services/filestore/app.coffee +++ b/services/filestore/app.coffee @@ -43,7 +43,12 @@ app.use (req, res, next) -> url:req.url key: req.key 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" requestDomain.run next