diff --git a/data/www/script.js b/data/www/script.js index 9ebe19b..8d7f5c0 100644 --- a/data/www/script.js +++ b/data/www/script.js @@ -68,7 +68,8 @@ function handleStatus(data) { statusTimeout = setTimeout(loadStatus, GLOBAL_TIMEOUT); } -function handleError() { +function handleError(error) { + console.error(error); clearTimeout(statusTimeout); console.log("Lost connection :'("); document.body.classList.add("w3-disabled");