mirror of
https://github.com/status-im/nim-codex.git
synced 2025-01-26 02:29:15 +00:00
[proving] Do not log error when cancelling
This commit is contained in:
parent
cdcab43590
commit
d8ef633fb0
@ -53,6 +53,8 @@ proc run(proving: Proving) {.async.} =
|
||||
if callback =? proving.onProofRequired:
|
||||
callback(id)
|
||||
await proving.waitUntilPeriod(currentPeriod + 1)
|
||||
except CancelledError:
|
||||
discard
|
||||
except CatchableError as e:
|
||||
error "Proving failed", msg = e.msg
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user