Minor changes after testing

This commit is contained in:
Gunnar Skjold
2021-03-10 18:33:45 +01:00
parent af76243761
commit 5b9f3b7aed
2 changed files with 5 additions and 2 deletions

View File

@@ -345,7 +345,10 @@ var fetch = function() {
$('.jt').html("N/A");
}
setTimeout(fetch, interval);
}).fail(function() {
}).fail(function(x, text, error) {
console.log("Failed request");
console.log(text);
console.log(error);
setTimeout(fetch, interval*4);
setStatus("mqtt", 0);