From 4294c3f4d37ab2e199ff8b114e347535ecc690ab Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 11 Aug 2026 22:31:26 -0700 Subject: [PATCH] Print another layer of error causes when testing. --- test/GLOBALS.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/GLOBALS.mjs b/test/GLOBALS.mjs index 16b6f0f..e75945b 100644 --- a/test/GLOBALS.mjs +++ b/test/GLOBALS.mjs @@ -72,7 +72,7 @@ export const failures = [] export const passes = [] function fail (err) { failures.push(err.message) - console.error(`%cFAIL `, 'color:red', err.message, err.cause) + console.error(`%cFAIL `, 'color:red', err.message, err.cause, err.cause.cause) } function pass (name) { passes.push(name) -- 2.52.0