Browse Source

Show full error on close

update-deps
Alex Mikhalev 7 years ago
parent
commit
c1001ad787
  1. 2
      client/sprinklersRpc/WebSocketRpcClient.ts

2
client/sprinklersRpc/WebSocketRpcClient.ts

@ -257,7 +257,7 @@ export class WebSocketRpcClient implements s.SprinklersRPC {
}); });
private onClose(event: CloseEvent) { private onClose(event: CloseEvent) {
log.info({ reason: event.reason, wasClean: event.wasClean }, log.info({ event },
"disconnected from websocket"); "disconnected from websocket");
this.onDisconnect(); this.onDisconnect();
this.reconnectTimer = window.setTimeout(this._reconnect, RECONNECT_TIMEOUT_MS); this.reconnectTimer = window.setTimeout(this._reconnect, RECONNECT_TIMEOUT_MS);

Loading…
Cancel
Save