(firmware) keep polling on fetch status error

This commit is contained in:
Ad Schellevis 2015-05-19 14:26:39 +00:00
parent d98b45a6f0
commit c94e79eb3e

View File

@ -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') {