Skip to content

Commit

Permalink
Avoid spamming ladder-update errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Zarel committed Oct 28, 2018
1 parent 24571ea commit d5f2516
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions loginserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)]);
}
}
Expand Down

0 comments on commit d5f2516

Please sign in to comment.