mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 13:48:34 +00:00
fix: proper error log with call stack
This commit is contained in:
parent
7839d6b4bf
commit
010329dcfc
@ -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…
x
Reference in New Issue
Block a user