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
Sounds like a duplicate of #3068. It's not immediately apparent what should happen when your top-level layout load throws an error, since that data is needed to render that layout, which is needed to render that top-level +error.page
Describe the bug
Errors thrown from within +layout.js are not being caught and passed to +error.svelte
If I throw the error from +page.js it is being caught and passed to +error.svelte
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-f1qmuw?file=README.md
Logs
No response
System Info
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: