Skip to content

Commit 1f34ba7

Browse files
austinabellwillpote
authored andcommitted
BM-1505: log error with batch submission failure (#1033)
1 parent fa496bb commit 1f34ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/broker/src/submitter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ where
439439
if let Err(err) = self.market.fulfill(fulfillment_tx).await {
440440
let order_ids: Vec<&str> =
441441
fulfillments.iter().map(|f| *fulfillment_to_order_id.get(&f.id).unwrap()).collect();
442-
tracing::warn!("Failed to fulfill batch for orders: {order_ids:?}");
442+
tracing::warn!("Failed to fulfill batch for orders {order_ids:?}: {err:?}");
443443
self.handle_fulfillment_error(err, batch_id, &fulfillments, &order_ids).await?;
444444
}
445445

0 commit comments

Comments
 (0)