log stack

This commit is contained in:
barisusakli
2014-10-15 16:19:27 -04:00
parent 80489c6564
commit 834c4f8ff0

4
app.js
View File

@@ -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();