diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2019-02-12 18:24:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-12 18:24:29 -0500 |
| commit | 34ece9f2ede9c63af2678feb15ef5290a74c8d2f (patch) | |
| tree | afdf6dfbfd131f041134b7ab964d0efc477359dd /testing/mod.ts | |
| parent | 0435b78e8b9b36d07bdd20714180d8099468204d (diff) | |
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
Diffstat (limited to 'testing/mod.ts')
| -rw-r--r-- | testing/mod.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/mod.ts b/testing/mod.ts index 06089a80a..e8e00ca74 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; |
