Page MenuHomePhabricator

[lib] Don't swallow errors in useGetAndUpdateDeviceListsForUsers
ClosedPublic

Authored by angelika on Mon, Nov 4, 12:46 PM.
Tags
None
Referenced Files
F3336016: D13864.id45600.diff
Thu, Nov 21, 1:41 PM
Unknown Object (File)
Mon, Nov 18, 2:33 PM
Unknown Object (File)
Sun, Nov 17, 4:42 PM
Unknown Object (File)
Sat, Nov 16, 4:00 AM
Unknown Object (File)
Sat, Nov 16, 12:39 AM
Unknown Object (File)
Fri, Nov 15, 7:16 AM
Unknown Object (File)
Fri, Nov 15, 7:00 AM
Unknown Object (File)
Fri, Nov 15, 3:18 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