We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b641649 + c6f28e2 commit 26a0e21Copy full SHA for 26a0e21
lib/bot.js
@@ -104,6 +104,12 @@ class Bot extends EventEmitter {
104
if (err.eresult && login_error_msgs[err.eresult] !== undefined) {
105
winston.error(this.username + ': ' + login_error_msgs[err.eresult]);
106
}
107
+
108
+ // Yes, checking for string errors sucks, but we have no other attributes to check
109
+ // this error against.
110
+ if (err.toString().includes('Proxy connection timed out')) {
111
+ this.steamClient.relog();
112
+ }
113
});
114
115
this.steamClient.on('disconnected', (eresult, msg) => {
0 commit comments