ErrorBoundary not applying when child component throws
Unanswered
Matt posted this in #help-forum
MattOP
I am wrapping my Header component in an ErrorBoundary. The child (server component) is throwing, but instead of showing the ErrorComponent, I get an unhandled runtime error. Any idea why?
5 Replies
MattOP
bump
@Matt I am wrapping my Header component in an ErrorBoundary. The child (server component) is throwing, but instead of showing the ErrorComponent, I get an unhandled runtime error. Any idea why?
where did you throw it? how did you know that the Error comes from Header?
need-more-info
Call site in the OP second screenshot