mirror of
https://github.com/Threnklyn/MinecraftChat.git
synced 2026-05-18 20:33:28 +02:00
Print entire error stack on uncaught exception
This commit is contained in:
+1
-1
@@ -42,5 +42,5 @@ server.listen(app.get('port'), function() {
|
||||
|
||||
// handle exceptions
|
||||
process.on('uncaughtException', function(ex) {
|
||||
console.error(ex);
|
||||
console.error(ex.stack);
|
||||
});
|
||||
Reference in New Issue
Block a user