now wild `except:`

This commit is contained in:
Giovanni Petrantoni 2021-03-15 16:48:11 +09:00
parent c5b9fd3353
commit aeb18c4e41
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ when defined(libp2p_agents_metrics):
proc safeToLowerAscii*(s: string): Result[string, cstring] =
try:
ok(s.toLowerAscii())
except:
except CatchableError:
err("toLowerAscii failed")
const