mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-07-28 20:43:13 +00:00
Re raise cancelled error
This commit is contained in:
parent
5b37ee9210
commit
5c8391d2f6
@ -299,6 +299,8 @@ proc tryStartingDirectConn(
|
||||
let isRelayedAddr = address.contains(multiCodec("p2p-circuit"))
|
||||
if not isRelayedAddr.get(false) and address.isPublicMA():
|
||||
return await tryConnect(address)
|
||||
except CancelledError as exc:
|
||||
raise exc
|
||||
except CatchableError as err:
|
||||
debug "Failed to create direct connection.", description = err.msg
|
||||
continue
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user