From 196367ae05b4220b453ab9241b0819f16de35431 Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Sat, 21 Jan 2012 17:26:28 +0000 Subject: [PATCH] =?utf8?q?Revert=20"error=20hunting=A3"?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reverts commit ae51840838b89b12f2668db6a7e6e1d1be1d9f0b. --- client/js/front.events.js | 2 +- client/js/gateway.js | 1 - server/app.js | 5 ----- 3 files changed, 1 insertion(+), 7 deletions(-) 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); - }; -- 2.25.1