Skip to content

Commit

Permalink
[proving] Do not log error when cancelling
Browse files Browse the repository at this point in the history
  • Loading branch information
markspanbroek committed May 19, 2022
1 parent cdcab43 commit d8ef633
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dagger/proving.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d8ef633

Please sign in to comment.