« get me outta code hell

html: don't inspect child in #stringifyContent trace layer - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
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
commite44fd787771d91440962f471e9241e36b66edd1e (patch)
treedb234e3ddb0354dabfe677e94a04e03485f9d646 /src/util
parent07c39b3178b8637099d1ee94dff41d16f8097352 (diff)
html: don't inspect child in #stringifyContent trace layer
Diffstat (limited to 'src/util')
-rw-r--r--src/util/html.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/html.js b/src/util/html.js
index 95c5e45..f4c4bc4 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});
       }