log errors to console

This commit is contained in:
C85297 2026-02-05 09:57:44 +00:00
parent 8baa09254c
commit b2a0e7960f
No known key found for this signature in database

View File

@ -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