Tweak socket event logging

This commit is contained in:
lilia 2017-04-11 14:43:25 -07:00
parent 44a4ff3b52
commit dcfc4701c2
3 changed files with 8 additions and 4 deletions

View file

@ -21,7 +21,6 @@ MessageReceiver.prototype.extend({
if (this.socket && this.socket.readyState !== WebSocket.CLOSED) {
this.socket.close();
}
console.log('opening websocket');
// initialize the socket and start listening for messages
this.socket = this.server.getMessageSocket();
this.socket.onclose = this.onclose.bind(this);