mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
change error to debug
This commit is contained in:
@@ -67,7 +67,7 @@ class VoiceWebSocket extends EventEmitter {
|
|||||||
if (this.dead) return;
|
if (this.dead) return;
|
||||||
if (this.ws) this.reset();
|
if (this.ws) this.reset();
|
||||||
if (this.attempts > 5) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user