-
-
Notifications
You must be signed in to change notification settings - Fork 462
Closed
Labels
BugIssue typeIssue type
Description
I have not been able to reproduce yet, but getting a significant amount of crashes reported in Google Play where trying to send a non-fatal exception causes a fatal exception to be thrown.
java.lang.RuntimeException:
at huawei.android.app.HwApiCacheMangerEx.getPackageInfoAsUser (HwApiCacheMangerEx.java:194)
at android.app.ApplicationPackageManager.getPackageInfoAsUser (ApplicationPackageManager.java:197)
at android.app.ApplicationPackageManager.getPackageInfo (ApplicationPackageManager.java:174)
at io.sentry.android.event.helper.AndroidEventBuilderHelper.getPackageInfo (AndroidEventBuilderHelper.java:188)
at io.sentry.android.event.helper.AndroidEventBuilderHelper.helpBuildingEvent (AndroidEventBuilderHelper.java:57)
at io.sentry.SentryClient.runBuilderHelpers (SentryClient.java:117)
at io.sentry.SentryClient.buildEvent (SentryClient.java:196)
at io.sentry.SentryClient.sendEvent (SentryClient.java:151)
at io.sentry.SentryClient.sendException (SentryClient.java:224)
at io.sentry.Sentry.capture (Sentry.java:194)
at com.myapp.SentryTree.log(SentryTree.java:69)
Although this is probably a bug in the OS, I think it would be good to not crash the app when trying to report a non-fatal crash
Metadata
Metadata
Assignees
Labels
BugIssue typeIssue type