diff --git a/app.js b/app.js index 6ccc6098f6..46323d07fd 100644 --- a/app.js +++ b/app.js @@ -169,7 +169,8 @@ function start() { winston.info('[cluster] Client-side javascript and mapping propagated to worker ' + cluster.worker.id); break; } - }) + }); + process.on('uncaughtException', function(err) { winston.error(err.message); console.log(err.stack);