diff options
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}); } |