mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-12 08:42:18 +00:00
fix(proxy): suppress BLE001 on upstream close guard to stay within strict budget
This commit is contained in:
parent
a4ce0f2ced
commit
e8e7db248b
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ class PassThroughStreamingHandler:
|
|||
verbose_proxy_logger.error("Error scheduling chunk_processor logging: %s", e)
|
||||
try:
|
||||
await response.aclose()
|
||||
except Exception as e:
|
||||
except Exception as e: # noqa: BLE001 # closing a possibly-broken transport must not mask stream teardown
|
||||
verbose_proxy_logger.debug("Error closing passthrough upstream response: %s", e)
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue