From 34ece9f2ede9c63af2678feb15ef5290a74c8d2f Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 12 Feb 2019 18:24:29 -0500 Subject: [PATCH] Pretty print exceptions (denoland/deno_std#190) Explained here: https://github.com/denoland/deno/issues/1559#issuecomment-462811554 Original: https://github.com/denoland/deno_std/commit/34ca60376bb1ee8ba50bf150ecf77a05a393ef4b --- testing/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/mod.ts b/testing/mod.ts index 06089a80ad..e8e00ca742 100644 --- a/testing/mod.ts +++ b/testing/mod.ts @@ -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;