fix(server): serialize error stacks in logs
parent
d54b70d18a
commit
cc37e6da96
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue