mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
refactor: remove unused error in catch statements (#3820)
* refactor(handlers): remove unused error in catch * refactor(PacketHandler): remove unused error * refactor(SecretBox): remove unused error * refactor(ClientPresence): remove unused error * style: remove space Co-Authored-By: Crawl <icrawltogo@gmail.com> Co-authored-by: Crawl <icrawltogo@gmail.com>
This commit is contained in:
@@ -90,7 +90,7 @@ class PacketHandler extends EventEmitter {
|
||||
this.connection.onSpeaking({ user_id: userStat.userID, ssrc: ssrc, speaking: 0 });
|
||||
this.receiver.connection.client.clearTimeout(speakingTimeout);
|
||||
this.speakingTimeouts.delete(ssrc);
|
||||
} catch (ex) {
|
||||
} catch {
|
||||
// Connection already closed, ignore
|
||||
}
|
||||
}, DISCORD_SPEAKING_DELAY);
|
||||
|
||||
Reference in New Issue
Block a user