mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
(firmware) keep polling on fetch status error
This commit is contained in:
parent
d98b45a6f0
commit
c94e79eb3e
@ -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') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user