diff --git a/packages/runtime/src/services/StateManager.ts b/packages/runtime/src/services/StateManager.ts index eb6a9dcb..0326941d 100644 --- a/packages/runtime/src/services/StateManager.ts +++ b/packages/runtime/src/services/StateManager.ts @@ -160,7 +160,11 @@ export class StateManager { return result; } catch (error) { if (error instanceof Error) { - return new ExpressionError(error.message); + const expressionError = new ExpressionError(error.message); + + console.error(expressionError); + + return expressionError; } return undefined;