Page MenuHomePhabricator

D13864.diff
No OneTemporary

D13864.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
Sun, Nov 24, 8:16 PM (20 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2577207
Default Alt Text
D13864.diff (677 B)

Event Timeline