1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00

Pretty print exceptions (denoland/deno_std#190)

Explained here:
https://github.com/denoland/deno/issues/1559#issuecomment-462811554
Original: 34ca60376b
This commit is contained in:
Ryan Dahl 2019-02-12 18:24:29 -05:00 committed by GitHub
parent 0435b78e8b
commit 34ece9f2ed

View file

@ -265,7 +265,7 @@ export async function runTests() {
result = red_failed();
console.log("...", result);
console.groupEnd();
console.error((e && e.stack) || e);
console.error(e);
failed++;
if (exitOnFail) {
break;