UncaughtException handler in server re-enabled
authorDarren <darren@darrenwhitlen.com>
Thu, 11 Oct 2012 10:31:51 +0000 (11:31 +0100)
committerDarren <darren@darrenwhitlen.com>
Thu, 11 Oct 2012 10:31:51 +0000 (11:31 +0100)
server/kiwi.js

index f419d73adee3cc8466f0a3efea16f746654bffa3..e8dbc73b219ec3f7d6deb21f5591d28f2657a234 100755 (executable)
@@ -215,9 +215,9 @@ this.kiwi_mod.printMods();
 
 
 // Make sure Kiwi doesn't simply quit on an exception
-//process.on('uncaughtException', function (e) {
-//    console.log('[Uncaught exception] ' + e);
-//});
+process.on('uncaughtException', function (e) {
+    console.log('[Uncaught exception] ' + e);
+});
 
 // Start the server up
 this.websocketListen(this.config.servers, this.httpHandler);