-
-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filtering duplicated Unhandled JS Errors doesn't work with obfuscated class names on Android #3126
Comments
@marandaneto I'm not sure because we are doing the check on the SentryException not on the original Exception. Is there a way to get the original in |
yes, our docs should document that https://docs.sentry.io/platforms/android/configuration/filtering/ |
This error doesn't look obfuscated (might be because it was symbolicated by Sentry) but is also reported twice. |
Consider even using https://docs.sentry.io/platforms/android/configuration/options/#ignored-exceptions-for-type |
Description
Our current solution to avoid duplicated errors being reported to Sentry doesn't work with obfuscated class names as we are checking the exception type against the string
JavascriptException
.We have to check this as React Native passes unhandled exceptions from JS layer to the native layers. We catch and send the exception in the JS layer with JS context, the native exception doesn't provide any more useful information.
sentry-react-native/android/src/main/java/io/sentry/react/RNSentryModuleImpl.java
Lines 182 to 192 in 0b40c1b
The text was updated successfully, but these errors were encountered: