mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-07 16:33:08 +00:00
chore: adjust dyn bootstrap error message (#993)
This commit is contained in:
parent
48e3c38f2a
commit
8ca6d56d07
@ -1067,7 +1067,8 @@ when isMainModule:
|
|||||||
.mapErr(proc (e: cstring): string = $e)
|
.mapErr(proc (e: cstring): string = $e)
|
||||||
else:
|
else:
|
||||||
warn "Failed to init Waku DNS discovery"
|
warn "Failed to init Waku DNS discovery"
|
||||||
|
|
||||||
|
debug "No method for retrieving dynamic bootstrap nodes specified."
|
||||||
ok(newSeq[RemotePeerInfo]()) # Return an empty seq by default
|
ok(newSeq[RemotePeerInfo]()) # Return an empty seq by default
|
||||||
|
|
||||||
# 3/7 Initialize node
|
# 3/7 Initialize node
|
||||||
@ -1345,7 +1346,7 @@ when isMainModule:
|
|||||||
var dynamicBootstrapNodes: seq[RemotePeerInfo]
|
var dynamicBootstrapNodes: seq[RemotePeerInfo]
|
||||||
let dynamicBootstrapNodesRes = retrieveDynamicBootstrapNodes(conf)
|
let dynamicBootstrapNodesRes = retrieveDynamicBootstrapNodes(conf)
|
||||||
if dynamicBootstrapNodesRes.isErr:
|
if dynamicBootstrapNodesRes.isErr:
|
||||||
error "2/7 Retrieving dynamic bootstrap nodes failed. Continuing without dynamic bootstrap nodes."
|
warn "2/7 Retrieving dynamic bootstrap nodes failed. Continuing without dynamic bootstrap nodes."
|
||||||
else:
|
else:
|
||||||
dynamicBootstrapNodes = dynamicBootstrapNodesRes.get()
|
dynamicBootstrapNodes = dynamicBootstrapNodesRes.get()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user