From: Jack Allnutt Date: Sat, 21 Jan 2012 17:26:28 +0000 (+0000) Subject: Revert "error hunting£" X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=196367ae05b4220b453ab9241b0819f16de35431;p=KiwiIRC.git Revert "error hunting£" This reverts commit ae51840838b89b12f2668db6a7e6e1d1be1d9f0b. --- diff --git a/client/js/front.events.js b/client/js/front.events.js index a4b6712..05bca87 100644 --- a/client/js/front.events.js +++ b/client/js/front.events.js @@ -595,7 +595,7 @@ kiwi.front.events = { break; default: // We don't know what data contains, so don't do anything with it. - console.log(e, data); + //kiwi.front.tabviews.server.addMsg(null, ' ', '=== ' + data, 'status'); } }, diff --git a/client/js/gateway.js b/client/js/gateway.js index e7a9a51..37fec1a 100644 --- a/client/js/gateway.js +++ b/client/js/gateway.js @@ -119,7 +119,6 @@ kiwi.gateway = { kiwi.gateway.socket.on('reconnect_failed', function () { console.log("kiwi.gateway.socket.on('reconnect_failed')"); }); - kiwi.gateway.socket.on('error', console.log); } }, diff --git a/server/app.js b/server/app.js index e9278e8..36d2213 100644 --- a/server/app.js +++ b/server/app.js @@ -793,7 +793,6 @@ this.websocketListen = function (servers, handler) { } callback(null, true); }).on('connection', kiwi.websocketConnection); - io.of('/kiwi').on('error', console.log); }); }; @@ -841,7 +840,6 @@ this.websocketConnection = function (websocket) { }); websocket.on('message', kiwi.websocketMessage); websocket.on('disconnect', kiwi.websocketDisconnect); - websocket.on('error', console.log); } }; @@ -992,9 +990,6 @@ this.IRCConnection = function (websocket, nick, host, port, ssl, password, callb }); bound_events = kiwi.bindIRCCommands(that, websocket); }; - - that.on('error', console.log); - };