Skip to content

Commit f5c0809

Browse files
authored
BM-1410: log job ID on proving failed log (#957)
Given the proving failed, would have been helpful to log the bento/bonsai job ID to make debugging purposes easier
1 parent 044580a commit f5c0809

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/broker/src/proving.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,9 @@ impl ProvingService {
341341
}
342342
Err(err) => {
343343
tracing::error!(
344-
"Order {} failed to prove after {} retries: {err:?}",
344+
"Order {} with job id {} failed to prove after {} retries: {err:?}",
345345
order_id,
346+
order.proof_id.as_deref().unwrap_or("<invalid>"),
346347
proof_retry_count
347348
);
348349

0 commit comments

Comments
 (0)