mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
silly hydar
This commit is contained in:
parent
b8018d4b6d
commit
c48f042785
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ class WebSocketConnection extends EventEmitter {
|
|||
* @param {CloseEvent} event Close event that was received
|
||||
*/
|
||||
onClose(event) {
|
||||
this.debug(`${this.expectingClose ? 'Server' : 'Client'} closed WebSocket connection: ${event.code}`);
|
||||
this.debug(`${this.expectingClose ? 'Client' : 'Server'} closed the WebSocket connection: ${event.code}`);
|
||||
this.closeSequence = this.sequence;
|
||||
// Reset the state before trying to fix anything
|
||||
this.emit('close', event);
|
||||
|
|
|
|||
Loading…
Reference in a new issue