-
Notifications
You must be signed in to change notification settings - Fork 375
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
[Bug?]: Rejected promises in server fns are not handled correctly #1323
Comments
probably has something to do with does it work normally without it? |
No. CSR routing:
SSR, crashes:
|
Okay thanks! for the _server, can you show me what does the response look like? |
(literally) |
@lxsmnsyc Without using cache: {
"statusCode": 500,
"stack": []
} |
Just realized that this is the cause of the issue
it was not following the expected format for the deserializer. Will fix. |
Duplicates
Latest version
Current behavior 😯
This is similar but not the same as #1222
Here's a simple reproduction:
On initial SSR, Dev server crashes with
Error: oh no
, but should probably show an error page, and log something in the console, but not die.When using client-side routing (going from /about to /broken page), an error is printed:
Seemingly, rejections are not taken into account correctly. Again, a pop-up telling the user a fatal error in the server function occured would be great.
Steps to reproduce 🕹
See example
Context 🔦
Obvious
Your environment 🌎
basic
solid-cli example as of todayThe text was updated successfully, but these errors were encountered: