Fix CatchableError -> ServiceSetupError (copied from #3931)

This commit is contained in:
Fabiana Cecin 2026-06-04 17:12:48 -03:00
parent 5eed0f25ff
commit b76556e38b
No known key found for this signature in database
GPG Key ID: BCAB8A55CB51B6C7

View File

@ -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