Skip to content

How to handle unexpected errors thrown within the root layout in a Next 14 application? #65196

Answered by icyJoseph
karimyilmaz asked this question in Help
Discussion options

You must be logged in to vote

Could you just verify one more thing?

In the docs it also says:

global-error.js is only enabled in production. In development, our error overlay will show instead.

Could you build, your app, and try again?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@karimyilmaz
Comment options

@icyJoseph
Comment options

Answer selected by karimyilmaz
@karimyilmaz
Comment options

@icyJoseph
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants