Error reporting fix
authorDarren <darren@darrenwhitlen.com>
Sat, 5 Nov 2011 04:23:49 +0000 (04:23 +0000)
committerDarren <darren@darrenwhitlen.com>
Sat, 5 Nov 2011 04:23:49 +0000 (04:23 +0000)
server/app.js
server/kiwi.js

index b5eeb14bc767c2df655b22f058595dac44bdc664..bc6b204352dd35da16a1f278d3f198ac12ff1359 100644 (file)
@@ -768,7 +768,6 @@ this.websocketListen = function (servers, handler) {
             callback(null, true);
         }).on('connection', kiwi.websocketConnection);
     });
-    nonExistantFunction();
 };
 
 
index 22571b402b5e12a3f6d803424f05097c47dd229c..d2db96ed8679e6c4b872f91eb1baa9b9fed55eb2 100644 (file)
@@ -205,10 +205,9 @@ this.kiwi_mod.printMods();
 
 // Make sure Kiwi doesn't simply quit on an exception
 process.on('uncaughtException', function (e) {
-    this.log('[Uncaught exception] ' + e);
+    console.log('[Uncaught exception] ' + e);
 });
 
-
 // Start the server up
 this.websocketListen(this.config.servers, this.httpHandler);