log errors to console
This commit is contained in:
parent
8baa09254c
commit
b2a0e7960f
@ -229,6 +229,7 @@ class Recipe {
|
||||
}
|
||||
this.lastRunOp = op;
|
||||
} catch (err) {
|
||||
log.error(err);
|
||||
// Return expected errors as output
|
||||
if (err instanceof OperationError || err?.type === "OperationError") {
|
||||
// Cannot rely on `err instanceof OperationError` here as extending
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user