Update WebSocketShard.js
This commit is contained in:
@@ -772,6 +772,7 @@ class WebSocketShard extends EventEmitter {
|
||||
return;
|
||||
}
|
||||
|
||||
this.debug(`[WebSocketShard] send packet '${JSON.stringify(data)}'`);
|
||||
this.connection.send(WebSocket.pack(data), err => {
|
||||
if (err) this.manager.client.emit(Events.SHARD_ERROR, err, this.id);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user