Skip to content

Commit

Permalink
feat(prover): add panic when all retry failed
Browse files Browse the repository at this point in the history
  • Loading branch information
luanxu-mxc committed Nov 19, 2024
1 parent 6c18ec7 commit 5b030be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/taiko-client/prover/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@ func (p *Prover) withRetry(f func() error) {
defer p.wg.Done()
if err := backoff.Retry(f, p.backoff); err != nil {
log.Error("Operation failed", "error", err)
panic("withRetry Operation failed")
}
}()
}

0 comments on commit 5b030be

Please sign in to comment.