You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That you for reporting this. This does indeed seem to be either a bug or – more likely – a limitation of the current implementation.
As it is now, updates that are not caused "above" the boundary won't go though it. Put another way, self contained updates (like the one caused by the on:click handler in MakeError) won't get caught as the error boundary is completely unaware of them.
These very precise updates are a main feature of Svelte, but they do indeed make catching errors a lot harder.
Repro: https://svelte.dev/repl/239f64a51b1448649b591b1522cef54c?version=3.31.2
When wrapping the
Boundary
component around any Svelte component, the errors aren't caught byBoundary
.I'm not sure if this is a bug, or a limitation of this library, but it would be great to have this documented in the readme if it's not fixable.
Thanks!
The text was updated successfully, but these errors were encountered: