Skip to content

Commit

Permalink
feat(prover): Add error to panic message of prover (#2807)
Browse files Browse the repository at this point in the history
## What ❔

To improve debugging

## Why ❔

<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zk fmt` and `zk lint`.
  • Loading branch information
Artemka374 authored Sep 5, 2024
1 parent 1139e02 commit 6e057eb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions prover/crates/bin/prover_fri/src/gpu_prover_job_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,11 @@ pub mod gpu_prover {
(),
&worker,
)
.unwrap_or_else(|_| {
panic!("failed generating GPU proof for id: {}", prover_job.job_id)
.unwrap_or_else(|err| {
panic!(
"failed generating GPU proof for id: {}, error: {:?}",
prover_job.job_id, err
)
});
tracing::info!(
"Successfully generated gpu proof for job {} took: {:?}",
Expand Down

0 comments on commit 6e057eb

Please sign in to comment.