mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
parent
03e4ab7b1c
commit
2ddb7f0553
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue