diff options
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index 9687b25..815623a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -51,11 +51,11 @@ } } - socket.onerror = function() { + socket.onerror = function(e) { closed = true; if (!retry_scheduled) { - add_message("{System} Websocket error. Trying again in 3s :(\n"); + add_message("{System} Websocket error. Trying again in 3s :( " + e + "\n"); setTimeout(init_socket, 3000); retry_scheduled = true; } |
