From 834c4f8ff019b570dca48cb54aa09776ab43ac9a Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 15 Oct 2014 16:19:27 -0400 Subject: [PATCH] log stack --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index ac339fedc3..3b02134831 100644 --- a/app.js +++ b/app.js @@ -171,9 +171,9 @@ function start() { break; } }); - + process.on('uncaughtException', function(err) { - winston.error(err.message); + winston.error(err.stack); console.log(err.stack); meta.js.killMinifier();