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) { @@ -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);
}

Loading…
Cancel
Save