diff --git a/client/sprinklersRpc/WebSocketRpcClient.ts b/client/sprinklersRpc/WebSocketRpcClient.ts index 5ef5686..10a63bd 100644 --- a/client/sprinklersRpc/WebSocketRpcClient.ts +++ b/client/sprinklersRpc/WebSocketRpcClient.ts @@ -257,7 +257,7 @@ export class WebSocketRpcClient implements s.SprinklersRPC { }); private onClose(event: CloseEvent) { - log.info({ reason: event.reason, wasClean: event.wasClean }, + log.info({ event }, "disconnected from websocket"); this.onDisconnect(); this.reconnectTimer = window.setTimeout(this._reconnect, RECONNECT_TIMEOUT_MS);