Log closing websocket when updating event
This commit is contained in:
parent
d7bcfb415b
commit
d612676a80
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ class Wrapper
|
||||||
else if cmd == "error"
|
else if cmd == "error"
|
||||||
@notifications.add("notification-#{message.id}", "error", message.params, 0)
|
@notifications.add("notification-#{message.id}", "error", message.params, 0)
|
||||||
else if cmd == "updating" # Close connection
|
else if cmd == "updating" # Close connection
|
||||||
|
@log "Updating: Closing websocket"
|
||||||
@ws.ws.close()
|
@ws.ws.close()
|
||||||
@ws.onCloseWebsocket(null, 4000)
|
@ws.onCloseWebsocket(null, 4000)
|
||||||
else if cmd == "redirect"
|
else if cmd == "redirect"
|
||||||
|
|
Loading…
Reference in a new issue