remove 403 suicide thing

This commit is contained in:
Lamp 2018-11-26 13:18:37 -08:00 committed by GitHub
parent c9d9de5df0
commit 94836b1f43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();