Log closing websocket when updating event

This commit is contained in:
shortcutme 2019-04-09 15:06:27 +02:00
parent d7bcfb415b
commit d612676a80
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -95,6 +95,7 @@ class Wrapper
else if cmd == "error"
@notifications.add("notification-#{message.id}", "error", message.params, 0)
else if cmd == "updating" # Close connection
@log "Updating: Closing websocket"
@ws.ws.close()
@ws.onCloseWebsocket(null, 4000)
else if cmd == "redirect"