diff --git a/server/logging/prettyPrint.ts b/server/logging/prettyPrint.ts index f13b7f2..4e557a8 100644 --- a/server/logging/prettyPrint.ts +++ b/server/logging/prettyPrint.ts @@ -47,8 +47,8 @@ function formatter(value: any) { line += chalk.cyan(value.msg); } line += "\n"; - if (value.type === "Error") { - line += " " + withSpaces(value.stack) + "\n"; + if (value.err) { + line += " " + withSpaces(value.err.stack) + "\n"; } else { line += filter(value); }