diff --git a/dagger/proving.nim b/dagger/proving.nim index 62e1893a..26107296 100644 --- a/dagger/proving.nim +++ b/dagger/proving.nim @@ -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