diff --git a/litellm/llms/custom_httpx/http_handler.py b/litellm/llms/custom_httpx/http_handler.py index a2a8083db37..1a066c65d17 100644 --- a/litellm/llms/custom_httpx/http_handler.py +++ b/litellm/llms/custom_httpx/http_handler.py @@ -540,7 +540,7 @@ class AsyncHTTPHandler: response.raise_for_status() return response except (httpx.RemoteProtocolError, httpx.ConnectError) as e: - verbose_logger.warning(f"{type(e).__name__} on PUT {url}: {e}") + verbose_logger.warning(f"{type(e).__name__} on PUT {mask_sensitive_info(url)}: {e}") # Retry the request with a new session if there is a connection error new_client = self.create_client( timeout=timeout, event_hooks=self.event_hooks