Skip to content

Commit 32b51b2

Browse files
better
1 parent 98bd527 commit 32b51b2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/svelte/tests/runtime-runes/samples/error-boundary-23/main.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
import Test from './test.svelte';
33
</script>
44

5-
<svelte:boundary onerror={(e) => {console.log(e.stack)}}>
5+
<svelte:boundary onerror={(e) => {console.log('error caught root')}}>
66
<Test />
77
</svelte:boundary>

packages/svelte/tests/runtime-runes/samples/error-boundary-23/test.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
{count} / {test}
1515
</svelte:boundary>
1616

17-
1817
<svelte:boundary onerror={(e) => {console.log('error caught 2')}}>
1918
<div>Count: {count}</div>
2019
<button onclick={() => count++}>Increment</button>

0 commit comments

Comments
 (0)