-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
chore: Improve Keyring/Accounts error handling and logs #12822
base: main
Are you sure you want to change the base?
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Bitrise❌❌❌ Commit hash: 4c958ed Note
Tip
|
}); | ||
} else { | ||
Logger.log('Creating AccountsController with provided initial state', { | ||
hasSelectedAccount: !!initialState.internalAccounts?.selectedAccount, |
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.
I would suggest optional chaining on all of the logs. If any of these are undefined we shouldn't crash init.
abf729d
to
ce694cc
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12822 +/- ##
==========================================
+ Coverage 58.85% 59.08% +0.22%
==========================================
Files 1851 1853 +2
Lines 41739 41828 +89
Branches 5397 5424 +27
==========================================
+ Hits 24566 24713 +147
+ Misses 15502 15441 -61
- Partials 1671 1674 +3 ☔ View full report in Codecov by Sentry. |
Bitrise✅✅✅ Commit hash: 327980c Note
|
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
Description
This PR does the following
Related issues
Progresses : #12408
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist