1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00

Pretty print exceptions (#190)

Explained here:
https://github.com/denoland/deno/issues/1559#issuecomment-462811554
This commit is contained in:
Ryan Dahl 2019-02-12 18:24:29 -05:00 committed by GitHub
parent 19cccd2ebc
commit 34ca60376b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;