From 94836b1f43b2d07a52df01944ebdaf68639a8946 Mon Sep 17 00:00:00 2001 From: Lamp Date: Mon, 26 Nov 2018 13:18:37 -0800 Subject: [PATCH] remove 403 suicide thing --- src/lib/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Client.js b/src/lib/Client.js index 34f6d66..d57bb5a 100755 --- a/src/lib/Client.js +++ b/src/lib/Client.js @@ -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();