Recipe errors are now ignored in the Magic operation
This commit is contained in:
parent
99ade42e9a
commit
1760ab2305
@ -244,7 +244,9 @@ class Magic {
|
|||||||
if (ENVIRONMENT_IS_WORKER()) self.loadRequiredModules([opConfig]);
|
if (ENVIRONMENT_IS_WORKER()) self.loadRequiredModules([opConfig]);
|
||||||
|
|
||||||
const recipe = new Recipe([opConfig]);
|
const recipe = new Recipe([opConfig]);
|
||||||
|
try {
|
||||||
await recipe.execute(dish, 0);
|
await recipe.execute(dish, 0);
|
||||||
|
} catch (err) {} // Ignore errors
|
||||||
|
|
||||||
const magic = new Magic(dish.get(Dish.ARRAY_BUFFER), this.opPatterns),
|
const magic = new Magic(dish.get(Dish.ARRAY_BUFFER), this.opPatterns),
|
||||||
speculativeResults = await magic.speculativeExecution(
|
speculativeResults = await magic.speculativeExecution(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user