-
-
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
throw redirect
causes error with status code 500
on the client
#6049
Comments
throw redirect
causes error with status code 500
on the client
This looks like a duplicate of #5952 — closing |
@Rich-Harris This seems like a different issue. I'm on The error gets captured in |
@Rich-Harris @Conduitry Is it possible to reopen this issue? :) |
This issue is a duplicate of #5952. If the issue you're having is a server-side redirect that's not working, that would be a separate issue, because this one is about client-side redirects. If you have a minimal reproduction, you should open a separate issue for it. |
Describe the bug
The
/user/close/[plan]/+page.svelte
with a+page.ts
& load function that looks like thisreturns an error with status code 500 when navigated to like this
<a href="/user/close/magik">here</a>
But It redirects correctly on window refresh...
Reproduction
Here is a repo https://github.com/HanielU/kit-redirect-issue
Install dependencies
Start dev server
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: