-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure in page endpoint results in incorrect message when navigated to client-side, but not when hard reloaded #4802
Comments
As of a month or two ago this issue was being tracked in this PR #4032. I described what I thought was a decent fix, but I haven't heard back. |
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. 🙂 |
My PR is stale because I asked for help and advice for the maintainers. I didn’t want to pester but I’m stuck on determining the right way forward. |
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: