-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
How to handle errors thrown from the loader? #356
Comments
Also, while testing, I noticed that if I create route such as: export default async () => {
throw new Error('This is an error');
}; The error becomes:
This feels like a separate issue. |
I'll leave them together for now, and i'll open a new issue if it's not resolved by any changes from this one :) |
@mcansh Any updates on this one? |
hey sorry for the slowness, been busy with work. from what i can tell this is due to streaming with a pass through stream https://github.com/mcansh/remix-fastify/blob/main/packages/remix-fastify/src/server.ts#L134 - i'll investigate further soon removing the pass through doesn't work in all instances |
i have an experimental release for you to try if you're still using this package :)
|
At the moment, this code:
Produces this page:
https://pillser.com/checks/error
In Fastify, this is how I am handling it:
How do I get Remix error page instead?
The text was updated successfully, but these errors were encountered: