-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: reactIssues related to the Sentry React SDKIssues related to the Sentry React SDKType: Improvement
Description
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
-
@sentry/browser -
@sentry/node -
raven-js -
raven-node(raven for node) - other:
@sentry/react
Version:
6.12.0
Description
The docs describe a way of filtering events using the hint.originalException object. However using the React library with included ErrorBoundry component the hint object only contains { event_id: 'xxxx' } and no originalException or syntheticException etc.
I've done some digging and I think (not certain, only trying to read the lib code) that this new addition #3532 (React 17 error boundaries) has swallowed the original error. I tried skipping this section of the code and the original exception came back on the hint inside beforeSend.
Please can something be done to restore this functionality, or am I doing something wrong? Thanks
timphillips and felschr
Metadata
Metadata
Assignees
Labels
Package: reactIssues related to the Sentry React SDKIssues related to the Sentry React SDKType: Improvement