Brozy123 commited on
Commit
bd23874
·
verified ·
1 Parent(s): 41a06b2

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -1391,7 +1391,7 @@ client.on('error', (e) => {
1391
  });
1392
 
1393
  client.login(TOKEN).catch(e => {
1394
- console.error(`[!] Login Failed: ${e.message}`);
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);