From de0ba9fb7cda4607f50549a0a0033351397cca1c Mon Sep 17 00:00:00 2001 From: Amish Shah Date: Sat, 7 Jan 2017 21:48:30 +0000 Subject: [PATCH] change error to debug --- src/client/voice/VoiceWebSocket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/voice/VoiceWebSocket.js b/src/client/voice/VoiceWebSocket.js index bafa5dde3..d0996ff97 100644 --- a/src/client/voice/VoiceWebSocket.js +++ b/src/client/voice/VoiceWebSocket.js @@ -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; }