You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the bug has not already been reported
Fastify version
4.28.0
Plugin version
10.0.1
Node.js version
22.2.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
15.0
Description
I am unable to get @fastify/nextjs to render an error page.
Everything else works perfectly, except for the error page rendering.
The error handler is being called, and it logs “error handler called”. However, the request keeps loading indefinitely until it eventually times out.
I have tried various approaches, such as returning the error, making the error a string, returning JSON, and more. Despite these efforts, the request just hangs without any further errors.
Prerequisites
Fastify version
4.28.0
Plugin version
10.0.1
Node.js version
22.2.0
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
15.0
Description
I am unable to get @fastify/nextjs to render an error page.
Everything else works perfectly, except for the error page rendering.
The error handler is being called, and it logs “error handler called”. However, the request keeps loading indefinitely until it eventually times out.
I have tried various approaches, such as returning the error, making the error a string, returning JSON, and more. Despite these efforts, the request just hangs without any further errors.
Here is my code:
Link to code that reproduces the bug
No response
Expected Behavior
It is expected to render an error page.
The text was updated successfully, but these errors were encountered: