Page MenuHomePhabricator

[lib] Don't swallow errors in useGetAndUpdateDeviceListsForUsers
ClosedPublic

Authored by angelika on Nov 4 2024, 12:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 1:54 AM
Unknown Object (File)
Mon, Dec 16, 3:52 AM
Unknown Object (File)
Mon, Dec 16, 3:52 AM
Unknown Object (File)
Mon, Dec 16, 3:52 AM
Unknown Object (File)
Mon, Dec 16, 3:52 AM
Unknown Object (File)
Mon, Dec 16, 3:52 AM
Unknown Object (File)
Mon, Dec 16, 3:52 AM
Unknown Object (File)
Sat, Dec 7, 9:04 AM
Subscribers

Details

Summary
Test Plan

Force the error when sending message:


  1. Create DM with some user
  2. Change identity address to some random address
  3. Remove device lists by dispatching an action as described in the issue
  4. Try to send a message
  5. Verify that the app doesn't crash and user can retry sending the message and you can see the error nicely in the logs

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable