aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMaximilien Cuony <maximilien@theglu.org>2016-09-12 19:36:23 +0200
committerMaximilien Cuony <maximilien@theglu.org>2016-09-12 19:36:23 +0200
commit1b02875f393e15609e6422311541cb361b0bd428 (patch)
tree70d6c96113bae1b890ac268c4c0d2826182dbd71 /templates
parent18fb541004d3666cf722e3eeae8ed9aeab9503d2 (diff)
downloadglutte-serial-web-1b02875f393e15609e6422311541cb361b0bd428.tar.gz
glutte-serial-web-1b02875f393e15609e6422311541cb361b0bd428.tar.bz2
glutte-serial-web-1b02875f393e15609e6422311541cb361b0bd428.zip
Remove debug for ADSL and try to log more errors for ws
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html4
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;
}