diff --git a/src/client/websocket/WebSocketConnection.js b/src/client/websocket/WebSocketConnection.js index b4705caf4..ecbcf141a 100644 --- a/src/client/websocket/WebSocketConnection.js +++ b/src/client/websocket/WebSocketConnection.js @@ -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);