mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
change error to debug
This commit is contained in:
parent
0df17b1634
commit
de0ba9fb7c
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ class VoiceWebSocket extends EventEmitter {
|
|||
if (this.dead) return;
|
||||
if (this.ws) this.reset();
|
||||
if (this.attempts > 5) {
|
||||
this.emit('error', new Error(`Too many connection attempts (${this.attempts}).`));
|
||||
this.emit('debug', new Error(`Too many connection attempts (${this.attempts}).`));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue