mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
Improve handling of OperationErrors.
Make output filter refresh when changing stale or errored checkboxes
This commit is contained in:
parent
413e80ed3e
commit
0cff7bdd04
3 changed files with 8 additions and 4 deletions
|
@ -146,11 +146,12 @@ class WorkerWaiter {
|
|||
if (r.data.error) {
|
||||
this.app.handleError(r.data.error);
|
||||
this.manager.output.updateOutputError(r.data.error, inputNum, r.data.progress);
|
||||
this.workerFinished(currentWorker);
|
||||
} else if (r.data.progress !== this.manager.recipe.getConfig().length) {
|
||||
this.manager.output.updateOutputError(r.data.result, inputNum, r.data.progress);
|
||||
} else {
|
||||
this.updateOutput(r.data, r.data.inputNum, r.data.bakeId, r.data.progress);
|
||||
this.workerFinished(currentWorker);
|
||||
}
|
||||
this.workerFinished(currentWorker);
|
||||
break;
|
||||
case "bakeError":
|
||||
this.app.handleError(r.data.error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue