Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions apps/labrinth/src/queue/billing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,8 @@ pub async fn process_chargeable_charges(
Currency::from_str(&product_price.currency_code.to_lowercase())
else {
warn!(
"Could not find currency for {}",
product_price.currency_code
charge.id = charge.id.0,
"Could not find currency for {}", product_price.currency_code
);
continue;
};
Expand Down Expand Up @@ -817,14 +817,19 @@ pub async fn process_chargeable_charges(
charge.payment_platform = PaymentPlatform::Stripe;
} else {
error!(
charge.id = charge.id.0,
"Payment bootstrap succeeded but no payment intent was created"
);
failure = true;
}
}

Err(error) => {
error!(%error, "Failed to bootstrap payment for renewal");
error!(
?error,
charge.id = charge.id.0,
"Failed to bootstrap payment for renewal"
);
failure = true;
}
};
Expand Down
Loading