mirror of
https://github.com/Threnklyn/MinecraftChat.git
synced 2026-06-01 18:58:27 +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
|
// handle exceptions
|
||||||
process.on('uncaughtException', function(ex) {
|
process.on('uncaughtException', function(ex) {
|
||||||
console.error(ex);
|
console.error(ex.stack);
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user