Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
squadgazzz committed Jan 21, 2025
1 parent c1ffb67 commit 917761e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions crates/driver/src/domain/competition/auction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,14 @@ impl AuctionProcessor {
) -> HashMap<order::Uid, Option<app_data::ValidatedAppData>> {
if let Some(app_data_retriever) = app_data_retriever {
join_all(orders.iter().map(|order| async {
let fetched_app_data = app_data_retriever.get(order.app_data.hash()).await.tap_err(|err| {
tracing::warn!(order_uid=?order.uid, ?err, "failed to fetch app data for order");
}).ok().flatten();
let fetched_app_data = app_data_retriever
.get(order.app_data.hash())
.await
.tap_err(|err| {
tracing::warn!(order_uid=?order.uid, ?err, "failed to fetch app data for order");
})
.ok()
.flatten();

(order.uid, fetched_app_data)
}))
Expand Down

0 comments on commit 917761e

Please sign in to comment.