Catch exceptions during the Power or Battery broadcast intents processing#2642
Merged
0xnm merged 1 commit intoMay 12, 2025
Conversation
Datadog Summary✅ Code Quality ✅ Code Security ✅ Dependencies Was this helpful? Give us feedback! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2642 +/- ##
===========================================
- Coverage 70.06% 69.99% -0.07%
===========================================
Files 820 820
Lines 30591 30598 +7
Branches 5136 5136
===========================================
- Hits 21432 21416 -16
- Misses 7730 7745 +15
- Partials 1429 1437 +8
🚀 New features to boost your workflow:
|
Contributor
|
How did you find this? Was it some customer report? |
aleksandr-gringauz
approved these changes
May 12, 2025
jonathanmos
approved these changes
May 12, 2025
0xnm
deleted the
nogorodnikov/catch-runtime-exception-during-power-battery-intent-processing
branch
May 12, 2025 11:23
This file contains hidden or 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
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.
What does this PR do?
It seems exceptions may be thrown (although very rarely) by the system during the Power or Battery intents processing, so this PR aims to catch and log them instead of crashing the host app.
Review checklist (to be filled by reviewers)