fix(proxy): suppress BLE001 on upstream close guard to stay within strict budget

This commit is contained in:
vivekvar-dl 2026-08-08 13:54:57 +05:30
parent a4ce0f2ced
commit e8e7db248b

View file

@ -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