« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 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});
       }