Error swallowed in form action when page has SSR disabled #11757
Labels
bug
Something isn't working
forms
Stuff relating to forms and form actions
ready to implement
please submit PRs for these issues!
Milestone
Describe the bug
I've found that when an exception is thrown in a page action and ssr = false, then I don't see the exception anywhere. I do get the 500 error response.
Reproduction
Minimal test case: https://github.com/winstonewert/sveltekit-bug-report
It's just a skeleton sveltekit project with the following +page.server.ts:
And a button to trigger the post request
Logs
System Info
Severity
annoyance
Additional Information
await handle_action_request
in render_page in src/runtime/server/page.jsrender_page
returnsawait render_response
throw action_result.error
is never executed.The text was updated successfully, but these errors were encountered: