fix: proper error log with call stack

This commit is contained in:
Felix Roos 2024-04-01 15:19:22 +02:00
parent 7839d6b4bf
commit 010329dcfc

View File

@ -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);
}