mirror of
https://github.com/codex-storage/nim-libp2p.git
synced 2025-01-13 20:44:20 +00:00
now wild except:
This commit is contained in:
parent
c5b9fd3353
commit
aeb18c4e41
@ -48,7 +48,7 @@ when defined(libp2p_agents_metrics):
|
|||||||
proc safeToLowerAscii*(s: string): Result[string, cstring] =
|
proc safeToLowerAscii*(s: string): Result[string, cstring] =
|
||||||
try:
|
try:
|
||||||
ok(s.toLowerAscii())
|
ok(s.toLowerAscii())
|
||||||
except:
|
except CatchableError:
|
||||||
err("toLowerAscii failed")
|
err("toLowerAscii failed")
|
||||||
|
|
||||||
const
|
const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user