Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
better
  • Loading branch information
commit 32b51b286c3fe5bf565bc4afe79ef1522578d1a4
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
import Test from './test.svelte';
</script>

<svelte:boundary onerror={(e) => {console.log(e.stack)}}>
<svelte:boundary onerror={(e) => {console.log('error caught root')}}>
<Test />
</svelte:boundary>
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
{count} / {test}
</svelte:boundary>


<svelte:boundary onerror={(e) => {console.log('error caught 2')}}>
<div>Count: {count}</div>
<button onclick={() => count++}>Increment</button>
Expand Down
Loading