Skip to content

Commit

Permalink
fix: Ignore errors (e.g., ECONNABORTED) that are now caught by the
Browse files Browse the repository at this point in the history
'connected' property
  • Loading branch information
okdistribute committed Jul 7, 2020
1 parent 42df960 commit 890205e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/frontend/screens/SyncModal/usePeers.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ function getPeersStatus ({
status = peerStatus.COMPLETE
complete = state.message
} else if (
syncErrors.has(serverPeer.id) ||
state.topic === 'replication-error'
syncErrors.has(serverPeer.id)
) {
status = peerStatus.ERROR
const error = syncErrors.get(serverPeer.id)
Expand Down

0 comments on commit 890205e

Please sign in to comment.