Revert "error hunting£"
authorJack Allnutt <m2ys4u@Gmail.com>
Sat, 21 Jan 2012 17:26:28 +0000 (17:26 +0000)
committerJack Allnutt <m2ys4u@Gmail.com>
Sat, 21 Jan 2012 17:26:28 +0000 (17:26 +0000)
This reverts commit ae51840838b89b12f2668db6a7e6e1d1be1d9f0b.

client/js/front.events.js
client/js/gateway.js
server/app.js

index a4b67121f918a8636cae995d5fc62e52fba37ae5..05bca870212e2736462c20a1e49de14602cbd265 100644 (file)
@@ -595,7 +595,7 @@ kiwi.front.events = {
             break;\r
         default:\r
             // We don't know what data contains, so don't do anything with it.\r
-            console.log(e, data);\r
+            //kiwi.front.tabviews.server.addMsg(null, ' ', '=== ' + data, 'status');\r
         }\r
     },\r
 \r
index e7a9a51026837f4804a2f3c9ccf08af3049bca5a..37fec1ae2a92106900fe4e94dc1c2982cb400d4d 100644 (file)
@@ -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);
         }
     },
 
index e9278e84972ebde0164a0028dbaa44af980c03de..36d221325d80d6bc866525caceadd8957d5bdea9 100644 (file)
@@ -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);
-    
 };