Commit e6034f39 authored by Jérome Perrin's avatar Jérome Perrin

testnode: don't crash log viewer app on network error

parent b4e9a9b4
...@@ -120,10 +120,10 @@ function get_log() { ...@@ -120,10 +120,10 @@ function get_log() {
log_data = ""; log_data = "";
show_log(); show_log();
setTimeout(get_log, poll);
} else { } else {
throw "Unknown AJAX Error (status " + xhr.status + ")"; console.error("Unknown AJAX Error (status " + xhr.status + ")");
} }
setTimeout(get_log, poll);
} }
}); });
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment