Commit c94e79eb authored by Ad Schellevis's avatar Ad Schellevis

(firmware) keep polling on fetch status error

parent d98b45a6
......@@ -138,7 +138,7 @@ POSSIBILITY OF SUCH DAMAGE.
$('#update_status').html(data['log']);
$('#update_status').scrollTop($('#update_status')[0].scrollHeight);
}
if (data['status'] == 'running') {
if (data['status'] == 'running' || data['status'] == 'error') {
// schedule next poll
setTimeout(trackStatus, 1000) ;
} else if (data['status'] == 'done') {
......
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