Report the error in the UI. Regression after switching to the task queue

This commit is contained in:
cmdr2
2022-09-30 10:50:38 +05:30
parent 1cdb456216
commit f05d114f05
2 changed files with 4 additions and 2 deletions

View File

@ -576,7 +576,9 @@ async function checkTasks() {
// setStatus('request', 'done', 'success')
} else {
task.outputMsg.innerText = 'Task ended after ' + time + ' seconds'
if (task.outputMsg.innerText.toLowerCase().indexOf('error') === -1) {
task.outputMsg.innerText = 'Task ended after ' + time + ' seconds'
}
}
if (randomSeedField.checked) {