mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-01-24 17:03:56 +08:00
feat: console the expression errors
This commit is contained in:
parent
20552960f5
commit
2727dd5716
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user