remove 403 suicide thing
This commit is contained in:
parent
c9d9de5df0
commit
94836b1f43
|
@ -114,7 +114,7 @@ Client.prototype.connect = function() {
|
|||
console.error(error.toString());
|
||||
self.ws.emit("close");
|
||||
//self.emit('disconnect', error.toString()); //TODO
|
||||
if (error.toString() == "Error: unexpected server response (403)") process.exit();
|
||||
//if (error.toString() == "Error: unexpected server response (403)") process.exit();
|
||||
});
|
||||
this.ws.addEventListener("open", function(evt) {
|
||||
self.connectionTime = Date.now();
|
||||
|
|
Loading…
Reference in New Issue