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, 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; }