-
-
Notifications
You must be signed in to change notification settings - Fork 435
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
Fix issue title on Android when a wrapped RuntimeException is thrown by the system #3212
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
markushi
requested review from
adinauer,
romtsn and
stefanosiano
as code owners
February 20, 2024 08:07
markushi
changed the title
Reverse order for Android RuntimeException
Fix issue title on Android when a wrapped RuntimeException is thrown by the system
Feb 20, 2024
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
1ae2ec6 | 353.85 ms | 419.71 ms | 65.85 ms |
99a51e2 | 405.11 ms | 479.65 ms | 74.54 ms |
1f3652d | 361.62 ms | 424.76 ms | 63.14 ms |
86f0096 | 371.86 ms | 439.78 ms | 67.92 ms |
8fd337b | 349.16 ms | 459.22 ms | 110.06 ms |
8ff8fd0 | 432.77 ms | 495.18 ms | 62.41 ms |
7eccfdb | 366.98 ms | 440.27 ms | 73.29 ms |
95a98b5 | 379.14 ms | 420.80 ms | 41.66 ms |
d6d2b2e | 463.14 ms | 545.56 ms | 82.42 ms |
8838e01 | 367.65 ms | 447.40 ms | 79.75 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
1ae2ec6 | 1.70 MiB | 2.27 MiB | 584.63 KiB |
99a51e2 | 1.72 MiB | 2.29 MiB | 576.34 KiB |
1f3652d | 1.72 MiB | 2.27 MiB | 554.95 KiB |
86f0096 | 1.72 MiB | 2.29 MiB | 576.50 KiB |
8fd337b | 1.72 MiB | 2.27 MiB | 555.00 KiB |
8ff8fd0 | 1.72 MiB | 2.27 MiB | 558.15 KiB |
7eccfdb | 1.72 MiB | 2.27 MiB | 556.93 KiB |
95a98b5 | 1.70 MiB | 2.27 MiB | 586.31 KiB |
d6d2b2e | 1.72 MiB | 2.27 MiB | 555.05 KiB |
8838e01 | 1.72 MiB | 2.29 MiB | 578.15 KiB |
romtsn
reviewed
Feb 20, 2024
romtsn
reviewed
Feb 20, 2024
sentry-android-core/src/main/java/io/sentry/android/core/DefaultAndroidEventProcessor.java
Outdated
Show resolved
Hide resolved
romtsn
reviewed
Feb 20, 2024
sentry-android-core/src/main/java/io/sentry/android/core/DefaultAndroidEventProcessor.java
Outdated
Show resolved
Hide resolved
romtsn
approved these changes
Feb 20, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I hope we can figure this out on the backend side somehow in the future
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📜 Description
Based on #3184, as a quick fix we want to reverse the order (similar to e.g. RN) of the exception list. This applies to Android only, and only to RuntimeExceptions.
💡 Motivation and Context
Improve getsentry/sentry#64074
💚 How did you test it?
Added unit tests, did a quick manual test with our demo app.
📝 Checklist
sendDefaultPII
is enabled.🔮 Next steps