-
Notifications
You must be signed in to change notification settings - Fork 21
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
handling error during server render #61
Comments
Following up on this, errors raised during component rendering are caught at the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you clarify how server rendered errors are handled? I'm trying to raise an error in the frontload to be handled in the node server render block, but I can't seem to catch the error anywhere. It seems like its being swallowed somewhere, but I can't figure it out.
This sounds like exactly what I want, but from what I can see, frontloadMetadata.error is populated, and the error is being caught.
frontload definitely sees the error
The component appears to keep rendering though, I see
frontloadMeta.error true
logged in the server console from the component:Nothing is logged at the catch block of the server rendering block
What would you expect to happen with errors in this setup?
Do you happen to have a simple demo site that can be used verify how errors work? I may make one, but if you have one already it would be helpful to rule out app code.
The text was updated successfully, but these errors were encountered: