diff --git a/litellm/proxy/pass_through_endpoints/streaming_handler.py b/litellm/proxy/pass_through_endpoints/streaming_handler.py index f77fcb98fbd..15f4a81f3b4 100644 --- a/litellm/proxy/pass_through_endpoints/streaming_handler.py +++ b/litellm/proxy/pass_through_endpoints/streaming_handler.py @@ -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