From: Darren Date: Sat, 5 Nov 2011 04:23:49 +0000 (+0000) Subject: Error reporting fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bf4115c48f4fdb4c60316495aa08108323d6bc92;p=KiwiIRC.git Error reporting fix --- diff --git a/server/app.js b/server/app.js index b5eeb14..bc6b204 100644 --- a/server/app.js +++ b/server/app.js @@ -768,7 +768,6 @@ this.websocketListen = function (servers, handler) { callback(null, true); }).on('connection', kiwi.websocketConnection); }); - nonExistantFunction(); }; diff --git a/server/kiwi.js b/server/kiwi.js index 22571b4..d2db96e 100644 --- a/server/kiwi.js +++ b/server/kiwi.js @@ -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);