fix(server): serialize error stacks in logs

This commit is contained in:
LukeParkerDev
2026-03-23 09:09:38 +10:00
parent d54b70d18a
commit cc37e6da96

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) {