From e44fd787771d91440962f471e9241e36b66edd1e Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 30 Dec 2023 12:37:53 -0400 Subject: html: don't inspect child in #stringifyContent trace layer --- src/util/html.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/util/html.js b/src/util/html.js index 95c5e45b..f4c4bc4f 100644 --- a/src/util/html.js +++ b/src/util/html.js @@ -411,8 +411,7 @@ export class Tag { } catch (caughtError) { throw new Error( `Error in child #${index + 1} ` + - `of ${inspect(this, {compact: true})}: ` + - inspect(item, {compact: true}), + `of ${inspect(this, {compact: true})}`, {cause: caughtError}); } -- cgit 1.3.0-6-gf8a5