fix: mobile crash issue during revoke with low gas#13655
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. |
|
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13655 +/- ##
=======================================
Coverage 62.68% 62.68%
=======================================
Files 2022 2022
Lines 44405 44406 +1
Branches 6030 6033 +3
=======================================
+ Hits 27836 27837 +1
+ Misses 14733 14731 -2
- Partials 1836 1838 +2 ☔ View full report in Codecov by Sentry. |
|
|



Description
This PR will fix the mobile crash issue when a user performs a remove with a low gas or nonce. The PR removes the throw causing the unhandled promise to float until the default native error handler and adds a log to track the occurrences of this error which is likely happening between unsubscribing it and the registered listener throwing the error.
Related issues
Fixes: #11129
Manual testing steps
21000to trigger an RPC errorScreenshots/Recordings
revoke-app-crash.mp4
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist