mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 16:26:16 -04:00
Recipe errors are now ignored in the Magic operation
This commit is contained in:
parent
99ade42e9a
commit
1760ab2305
1 changed files with 3 additions and 1 deletions
|
@ -244,7 +244,9 @@ class Magic {
|
|||
if (ENVIRONMENT_IS_WORKER()) self.loadRequiredModules([opConfig]);
|
||||
|
||||
const recipe = new Recipe([opConfig]);
|
||||
await recipe.execute(dish, 0);
|
||||
try {
|
||||
await recipe.execute(dish, 0);
|
||||
} catch (err) {} // Ignore errors
|
||||
|
||||
const magic = new Magic(dish.get(Dish.ARRAY_BUFFER), this.opPatterns),
|
||||
speculativeResults = await magic.speculativeExecution(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue