remove console.log and fix endless loop connecting

This commit is contained in:
Amish Shah
2016-10-23 19:59:19 +01:00
parent 38ff53c3a1
commit b2eb796cfc
2 changed files with 1 additions and 4 deletions

View File

@@ -84,7 +84,6 @@ class VoiceConnectionUDPClient extends EventEmitter {
return new Promise((resolve, reject) => {
if (this.socket) {
if (!this.discordAddress || !this.discordPort) {
console.log(this);
reject(new Error('malformed UDP address or port'));
return;
}