-
Hey, we have been using sentry for quiet some time, but without an error boundary. And I can't find anything in the docs, only the react docs speak of it. So would adding an error boundary break things or would it just keep working? |
Beta Was this translation helpful? Give feedback.
Answered by
lforst
May 2, 2023
Replies: 1 comment 2 replies
-
If you add an error boundary the error's won't bubble up anymore and Sentry can't capture them. If you want you can simply call |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
razzeee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you add an error boundary the error's won't bubble up anymore and Sentry can't capture them. If you want you can simply call
Sentry.captureException(err)
in the handler of the error boundary or use Sentry's error boundary below your own.