Svelte errors are not forwarded to user #9158
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
feat: hmr
Related to HMR (scope)
pkg: svelte
Related to Svelte (scope)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Hello,
Here is the reproduction https://stackblitz.com/edit/github-asymdn
The example show that with a svelte component using
client:only
, if there are errors (even an "obvious" one likeee is not defined
, we don't have clear instructions.We just have
Or sometimes (in a personal project for example) :
[HMR][Svelte] Unrecoverable HMR error in <Test>: next update will trigger a full reload
with only errorBut with client:visible we have a Error Boundary
What's the expected result?
Have a Error boundary each time OR at least have the error in the console
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-asymdn
Participation
The text was updated successfully, but these errors were encountered: