Skip to content

Commit

Permalink
fmt - A bit mor tracing to further investigate the problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Feb 19, 2025
1 parent e5b068c commit 75678c7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions core/payment/src/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,10 @@ impl PaymentProcessor {
.as_dao::<BatchDao>()
.get_batch_order_items_by_payment_id(msg.payment_id, payer_id)
.await?;
log::trace!("get_batch_order_items_by_payment_id finished and received {} items", order_items.len());
log::trace!(
"get_batch_order_items_by_payment_id finished and received {} items",
order_items.len()
);

for order_item in order_items.iter() {
log::trace!("Getting documents for order item: {:?}", order_item);
Expand Down Expand Up @@ -869,7 +872,10 @@ impl PaymentProcessor {
}
}

log::trace!("Summing up notifications for peers: {:?}", peers_to_sent_to.values());
log::trace!(
"Summing up notifications for peers: {:?}",
peers_to_sent_to.values()
);

// Sum up the amounts for each peer
for (key, value) in peers_to_sent_to.iter_mut() {
Expand Down

0 comments on commit 75678c7

Please sign in to comment.