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
All environments
App directory (appDir: true)
https://stackblitz.com/edit/vercel-next-js-ery9v2
Visit the "/error-throw" link in the provided code snippet
Throwing an error in head.tsx doesn't get caught by error.tsx file
Expect errors thrown in head.tsx to bubble to nearest error component
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Verify canary release
Provide environment information
All environments
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true)
Link to the code that reproduces this issue
https://stackblitz.com/edit/vercel-next-js-ery9v2
To Reproduce
Visit the "/error-throw" link in the provided code snippet
Describe the Bug
Throwing an error in head.tsx doesn't get caught by error.tsx file
Expected Behavior
Expect errors thrown in head.tsx to bubble to nearest error component
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
The text was updated successfully, but these errors were encountered: