This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 49c4cef DIstinguish event conditions
49c4cef is described below
commit 49c4ceff25b935a564b22b2429e29bd50a0e4e11
Author: Sebb <[email protected]>
AuthorDate: Mon Sep 28 12:04:33 2020 +0100
DIstinguish event conditions
---
www/board/agenda/views/models/events.js.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/board/agenda/views/models/events.js.rb
b/www/board/agenda/views/models/events.js.rb
index b9f2941..1fc7d72 100644
--- a/www/board/agenda/views/models/events.js.rb
+++ b/www/board/agenda/views/models/events.js.rb
@@ -169,12 +169,12 @@ class Events
end
def @@socket.onerror(event)
- self.log 'WebSocket connection terminated' if @@socket
+ self.log 'WebSocket connection failed' if @@socket
@@socket = nil
end
def @@socket.onclose(event)
- self.log 'WebSocket connection terminated' if @@socket
+ self.log 'WebSocket connection closed' if @@socket
@@socket = nil
end