Skip to content

Is it posible propagate beforeCapture within withErrorBoundary from child to parent ? #9089

Answered by lforst
julianCast asked this question in Q&A
Discussion options

You must be logged in to vote

Swallowing the error is in the nature of an error boundary. If you want a parent error boundary to become aware of an error that was already caught in a child error boundary you would need to rethrow the error in the child error boundary. Please note that the SDK is deduplicating errors so the errors won't be sent to Sentry twice.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by julianCast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants