diff --git a/litellm/llms/anthropic/experimental_pass_through/messages/transformation.py b/litellm/llms/anthropic/experimental_pass_through/messages/transformation.py index 586db6b791c..f8750bd7e51 100644 --- a/litellm/llms/anthropic/experimental_pass_through/messages/transformation.py +++ b/litellm/llms/anthropic/experimental_pass_through/messages/transformation.py @@ -573,7 +573,7 @@ class AnthropicMessagesConfig(BaseAnthropicMessagesConfig): """ try: raw_response_json: Final = raw_response.json() - except Exception: + except Exception: # noqa: BLE001 raise AnthropicError(message=raw_response.text, status_code=raw_response.status_code) return AnthropicMessagesResponse(**raw_response_json)