Skip to content

Commit 664ac7f

Browse files
authored
Update packages/svelte/tests/html_equal.js
1 parent 117ae9e commit 664ac7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/tests/html_equal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function normalize_html(
8686
clean_children(node);
8787
return node.innerHTML;
8888
} catch (err) {
89-
throw new Error(`Failed to normalize HTML:\n${html}\nCause: ${err.message}`);
89+
throw new Error(`Failed to normalize HTML:\n${html}\nCause: ${err}`);
9090
}
9191
}
9292

0 commit comments

Comments
 (0)