We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 117ae9e commit 664ac7fCopy full SHA for 664ac7f
packages/svelte/tests/html_equal.js
@@ -86,7 +86,7 @@ export function normalize_html(
86
clean_children(node);
87
return node.innerHTML;
88
} catch (err) {
89
- throw new Error(`Failed to normalize HTML:\n${html}\nCause: ${err.message}`);
+ throw new Error(`Failed to normalize HTML:\n${html}\nCause: ${err}`);
90
}
91
92
0 commit comments