From 2ddb7f055389493819a7c1282b7b537bd0a3808b Mon Sep 17 00:00:00 2001 From: Yash Raj Pandey Date: Mon, 7 Sep 2026 16:59:41 -0400 Subject: [PATCH] style(proxy): mark the new blind-except with the repo's noqa The lint gate failed with BLE001 at 2917 over the 2916 limit. Splitting the one try/except into two adds one blind except by construction. The new handler swallows the same way the single handler did before the split, so the noqa carries that reason. Local count on proxy_server.py drops from 124 to 123, which puts the repo total back at 2916. Co-Authored-By: Claude Opus 5 --- litellm/proxy/proxy_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index 30658f3529b..efe1a3ab474 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -7131,7 +7131,7 @@ class ProxyConfig: try: # initialize vector stores, guardrails, etc. table in db await self._init_non_llm_objects_in_db(prisma_client=prisma_client) - except Exception as e: + except Exception as e: # noqa: BLE001 - same swallow the single handler above already had; a hydration failure must not stop the reconcile verbose_proxy_logger.exception( "litellm.proxy.proxy_server.py::ProxyConfig:add_deployment non-LLM objects - %s", e )