Skip to content

Commit

Permalink
chore: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Russell Dempsey <[email protected]>
  • Loading branch information
achingbrain and SgtPooki authored Aug 11, 2023
1 parent 7d1c021 commit f5f7fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/libp2p/src/dcutr/dcutr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export class DefaultDCUtRService implements Startable {
})

if (connection.transient) {
throw new Error('Connection was still transient')
throw new Error('Could not open a new, non-transient, connection')
}

log('unilateral connection upgrade to %p succeeded via %a, closing relayed connection', relayedConnection.remotePeer, connection.remoteAddr)
Expand Down

0 comments on commit f5f7fe9

Please sign in to comment.