[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…
Reference in New Issue