Skip to content

Commit

Permalink
add error to panic message of prover
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemka374 committed Sep 5, 2024
1 parent 9821a20 commit 6dcb18d
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 6dcb18d

Please sign in to comment.