feat: Segment instance error handling#8218
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. |
restore getInstance
|
E2E test started on Bitrise: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/65b8cd61-10bf-4403-9dbd-a124dd16dc4c |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## feat/batch_1129_segment #8218 +/- ##
===========================================================
- Coverage 39.95% 39.95% -0.01%
===========================================================
Files 1236 1236
Lines 29920 29936 +16
Branches 2859 2859
===========================================================
+ Hits 11956 11961 +5
- Misses 17273 17284 +11
Partials 691 691 ☔ View full report in Codecov by Sentry. |
|
Merging after #8090 to limit the amount of conflicts |
…or_handling # Conflicts: # app/core/Analytics/MetaMetrics.ts
6055b1e to
9abf740
Compare
|

Description
Adds error handling on async
DefaultPreference.getandDefaultPreference.setMakes building instance stronger by using the Config type to prevent config mistakes
Related issues
fixes https://github.com/MetaMask/mobile-planning/issues/1403
Manual testing steps
NA
Screenshots/Recordings
NA
Before
NA
After
NA
Pre-merge author checklist
Pre-merge reviewer checklist