mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-04 22:43:12 +00:00
re-raise CancelledError
This commit is contained in:
parent
b9dd464a93
commit
2695b46dc4
@ -35,6 +35,8 @@ proc raiseCodexProcessError(
|
||||
template convertError(msg, body: typed) =
|
||||
try:
|
||||
body
|
||||
except CancelledError as e:
|
||||
raise e
|
||||
except CatchableError as parent:
|
||||
raiseCodexProcessError(msg, parent)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user