diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-12-30 12:37:53 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-12-30 12:37:53 -0400 |
commit | e44fd787771d91440962f471e9241e36b66edd1e (patch) | |
tree | db234e3ddb0354dabfe677e94a04e03485f9d646 /src | |
parent | 07c39b3178b8637099d1ee94dff41d16f8097352 (diff) |
html: don't inspect child in #stringifyContent trace layer
Diffstat (limited to 'src')
-rw-r--r-- | src/util/html.js | 3 |
1 files changed, 1 insertions, 2 deletions
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}); } |