fix: proper error log with call stack
This commit is contained in:
parent
7839d6b4bf
commit
010329dcfc
1 changed files with 1 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ export function repl({
|
|||
return pattern;
|
||||
} catch (err) {
|
||||
logger(`[eval] error: ${err.message}`, 'error');
|
||||
console.error(err);
|
||||
updateState({ evalError: err, pending: false });
|
||||
onEvalError?.(err);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue