fix(server): serialize error stacks in logs

log-worktree-error-details
LukeParkerDev 2026-03-23 09:09:38 +10:00
parent d54b70d18a
commit cc37e6da96
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ export namespace Server {
log.error("failed", {
error: err,
message: msg,
stack,
stack: stack ? JSON.stringify(stack) : undefined,
named,
})
if (err instanceof NamedError) {