Spaces:
Runtime error
Runtime error
Update index.js
Browse files
index.js
CHANGED
|
@@ -1391,7 +1391,7 @@ client.on('error', (e) => {
|
|
| 1391 |
});
|
| 1392 |
|
| 1393 |
client.login(TOKEN).catch(e => {
|
| 1394 |
-
console.error(`[!] Login Failed:
|
| 1395 |
console.log("[*] Retrying login with rotated endpoint...");
|
| 1396 |
networkFix.rotateEndpoint();
|
| 1397 |
setTimeout(() => client.login(TOKEN).catch(() => {}), 5000);
|
|
|
|
| 1391 |
});
|
| 1392 |
|
| 1393 |
client.login(TOKEN).catch(e => {
|
| 1394 |
+
console.error(`[!] Login Failed:`, e);
|
| 1395 |
console.log("[*] Retrying login with rotated endpoint...");
|
| 1396 |
networkFix.rotateEndpoint();
|
| 1397 |
setTimeout(() => client.login(TOKEN).catch(() => {}), 5000);
|