Browse Source

Fixed prettyPrint

update-deps
Alex Mikhalev 7 years ago
parent
commit
782c79d848
  1. 4
      server/logging/prettyPrint.ts

4
server/logging/prettyPrint.ts

@ -47,8 +47,8 @@ function formatter(value: any) {
line += chalk.cyan(value.msg); line += chalk.cyan(value.msg);
} }
line += "\n"; line += "\n";
if (value.type === "Error") { if (value.err) {
line += " " + withSpaces(value.stack) + "\n"; line += " " + withSpaces(value.err.stack) + "\n";
} else { } else {
line += filter(value); line += filter(value);
} }

Loading…
Cancel
Save