fix: skip biometric cancellation error recording in mixpanel#25087
fix: skip biometric cancellation error recording in mixpanel#25087
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThe changes in this PR are focused on improving error handling for biometric authentication cancellation in the Login and OAuthRehydration components. The modifications include:
Key observations:
Since the changes are limited to error handling for biometric cancellation (which cannot be tested in E2E), and the main login flow remains unchanged, no E2E test tags are required. |
|



Description
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Skips logging and analytics when biometric auth is cancelled to avoid noisy error reporting during unlock flows.
DENY_PIN_ERROR_ANDROID,UNLOCK_WALLET_ERROR_MESSAGES.IOS_USER_CANCELLED_BIOMETRICS), disables biometry, stops loading, and returns early without logging or tracking; minor refactor of error branches and vault corruption handling.REHYDRATION_PASSWORD_FAILEDtracking; refines error tracking to useerror_type: passcode_not_setwhen relevant.Logger.erroror Mixpanel tracking on biometric cancellations (Android/iOS); supporting mocks and timer cleanup added.Written by Cursor Bugbot for commit 30a47a8. Configure here.