From d5f25163b9159d47b1047206ff0954e740e65071 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sun, 28 Oct 2018 05:02:17 -0500 Subject: [PATCH] Avoid spamming ladder-update errors --- loginserver.js | 1 + 1 file changed, 1 insertion(+) diff --git a/loginserver.js b/loginserver.js index a705112b1..3f5eef5cb 100644 --- a/loginserver.js +++ b/loginserver.js @@ -170,6 +170,7 @@ class LoginServerInstance { if (data) { resolve([data[i], res.statusCode, null]); } else { + if (buffer.includes('<')) buffer = 'invalid response'; resolve([null, res.statusCode, new Error(buffer)]); } }