diff --git a/waku/factory/waku.nim b/waku/factory/waku.nim index effb2cd12..44e685c45 100644 --- a/waku/factory/waku.nim +++ b/waku/factory/waku.nim @@ -119,7 +119,7 @@ proc setupSwitchServices( for service in waku.node.switch.services: try: service.setup(waku.node.switch) - except CatchableError as e: + except ServiceSetupError as e: error "failed to set up libp2p switch service", error = e.msg ## Initialisation