break;\r
default:\r
// We don't know what data contains, so don't do anything with it.\r
- //kiwi.front.tabviews.server.addMsg(null, ' ', '=== ' + data, 'status');\r
+ console.log(e, data);\r
}\r
},\r
\r
kiwi.gateway.socket.on('reconnect_failed', function () {
console.log("kiwi.gateway.socket.on('reconnect_failed')");
});
+ kiwi.gateway.socket.on('error', console.log);
}
},
}
callback(null, true);
}).on('connection', kiwi.websocketConnection);
+ io.of('/kiwi').on('error', console.log);
});
};
});
websocket.on('message', kiwi.websocketMessage);
websocket.on('disconnect', kiwi.websocketDisconnect);
+ websocket.on('error', console.log);
}
};
});
bound_events = kiwi.bindIRCCommands(that, websocket);
};
+
+ that.on('error', console.log);
+
};