Page MenuHomePhabricator

D13864.id45588.diff
No OneTemporary

D13864.id45588.diff

diff --git a/lib/hooks/peer-list-hooks.js b/lib/hooks/peer-list-hooks.js
--- a/lib/hooks/peer-list-hooks.js
+++ b/lib/hooks/peer-list-hooks.js
@@ -74,16 +74,10 @@
return React.useCallback(
async (userIDs: $ReadOnlyArray<string>, broadcastUpdates: ?boolean) => {
- let result;
- try {
- result = await Promise.race([
- getDeviceListsForUsers(userIDs),
- throwOnTimeout(userIDs),
- ]);
- } catch (e) {
- console.log(e);
- }
-
+ const result = await Promise.race([
+ getDeviceListsForUsers(userIDs),
+ throwOnTimeout(userIDs),
+ ]);
if (!result) {
return null;
}

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 2:24 PM (17 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2561460
Default Alt Text
D13864.id45588.diff (677 B)

Event Timeline