Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
collab: Add context to errors syncing billing events to Stripe (#19315)
Marshall Bowersfedd177b0806
diff --git a/crates/collab/src/api/billing.rs b/crates/collab/src/api/billing.rsindex 6db40dd1877..02282b40c6d 100644--- a/crates/collab/src/api/billing.rs+++ b/crates/collab/src/api/billing.rs@@ -748,6 +748,7 @@ pub fn sync_llm_usage_with_stripe_periodically(app: Arc<AppState>) {loop {sync_with_stripe(&app, &llm_db, &stripe_billing).await+ .context("failed to sync LLM usage to Stripe").trace_err();executor.sleep(SYNC_LLM_USAGE_WITH_STRIPE_INTERVAL).await;}