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
The error passed to the load function of __error.svelte is a generic 500: Failed to load data when navigating client-side to a page with a page endpoint. However, refreshing the page or visiting it directly (causing it to be fetched directly from the server) results in the correct error.
Interesting! That PR appears to deal with some of the confusing bits brought up by #4801 as well. Error handling is one of the strangely-furry parts of Kit right now, unfortunately. 🙂
George, have you tried asking for help in the Discord #contributing channel? That can be a good place to ask for help without feeling too "pester"-y. :)
@georgecrawford Hey I hope you don't feel that I was complaining about you not responding to my comment on your pr. It's just that, as far as I know, that's where the issue lived last time I checked. In fact, just like you, I was unsure how to proceed when I posted on your pr. :-)
The fact remains, this is a bug that needs fixing.
@tcc-sejohnson Can you shoot us a link to the Discord #contributing channel? The one I'm on now seems to be about something else. Thanks.
Describe the bug
The error passed to the
load
function of__error.svelte
is a generic500: Failed to load data
when navigating client-side to a page with a page endpoint. However, refreshing the page or visiting it directly (causing it to be fetched directly from the server) results in the correct error.Reproduction
Logs
You asked for it. Oh noooooo Oh noooooo Oh noooooo Oh noooooo Oh noooooo Oh noooooo
System Info
Severity
annoyance
Additional Information
Seems like the error code is always correct at least... :)
The text was updated successfully, but these errors were encountered: