mirror of
https://github.com/gchq/CyberChef
synced 2025-12-14 07:13:18 +00:00
Improve handling of OperationErrors.
Make output filter refresh when changing stale or errored checkboxes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user