Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alrevuelta committed Jun 23, 2023
1 parent 51b6a2d commit 74c288d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions waku/v2/node/builder.nim
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ proc build*(builder: WakuNodeBuilder): Result[WakuNode, string] =
peerStoreCapacity = builder.peerStorageCapacity,
services = @[Service(getAutonatService(rng))],
)
except:
return err("failed to create switch")
except CatchableError:
return err("failed to create switch: " & getCurrentExceptionMsg())

let peerManager = PeerManager.new(
switch = switch,
Expand Down

0 comments on commit 74c288d

Please sign in to comment.