mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-28 05:19:28 +00:00
Re-raise cancelled error
This commit is contained in:
parent
5c8391d2f6
commit
6cfb255785
@ -131,6 +131,8 @@ proc start*(s: StorageServer) {.async.} =
|
||||
try:
|
||||
let addrs = spr.data.addresses.mapIt(it.address)
|
||||
await s.storageNode.switch.connect(spr.data.peerId, addrs)
|
||||
except CancelledError as exc:
|
||||
raise exc
|
||||
except CatchableError as e:
|
||||
warn "Cannot connect to bootstrap node", error = e.msg
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user