mirror of
https://github.com/denoland/deno.git
synced 2024-11-27 16:10:57 -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:
parent
0435b78e8b
commit
34ece9f2ed
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ export async function runTests() {
|
||||||
result = red_failed();
|
result = red_failed();
|
||||||
console.log("...", result);
|
console.log("...", result);
|
||||||
console.groupEnd();
|
console.groupEnd();
|
||||||
console.error((e && e.stack) || e);
|
console.error(e);
|
||||||
failed++;
|
failed++;
|
||||||
if (exitOnFail) {
|
if (exitOnFail) {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue