Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

style(proxy): justify the blanket except in window_from_table for the BLE001 gate

ryan-crabbe-berrif962a1188e2e
diff --git a/litellm/proxy/db/spend_counter_reseed.py b/litellm/proxy/db/spend_counter_reseed.py
index 4513300a12c..7b3c261036e 100644
--- a/litellm/proxy/db/spend_counter_reseed.py
+++ b/litellm/proxy/db/spend_counter_reseed.py
@@ -266,7 +266,7 @@ class SpendCounterReseed:
}
}
)
- except Exception:
+ except Exception: # noqa: BLE001 # any read failure (DB, stale prisma client) must degrade to the aggregate path
verbose_proxy_logger.exception(
"SpendCounterReseed.window_from_table: failed for %s=%s window=%s",
entity_type,