Print entire error stack on uncaught exception

This commit is contained in:
AlexKvazos
2015-04-28 23:53:10 -05:00
parent 6776b099dd
commit f4b2cbad77
+1 -1
View File
@@ -42,5 +42,5 @@ server.listen(app.get('port'), function() {
// handle exceptions // handle exceptions
process.on('uncaughtException', function(ex) { process.on('uncaughtException', function(ex) {
console.error(ex); console.error(ex.stack);
}); });