From c4fc5b1da4e3373c3635b66e161e5026b3fb05ba Mon Sep 17 00:00:00 2001 From: hliu-roblox <87345548+hliu-roblox@users.noreply.github.com> Date: Tue, 10 Mar 2026 15:33:48 -0700 Subject: [PATCH] Update litellm/llms/custom_httpx/http_handler.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- litellm/llms/custom_httpx/http_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/custom_httpx/http_handler.py b/litellm/llms/custom_httpx/http_handler.py index ff0f25b9e1b..a2a8083db37 100644 --- a/litellm/llms/custom_httpx/http_handler.py +++ b/litellm/llms/custom_httpx/http_handler.py @@ -467,7 +467,7 @@ class AsyncHTTPHandler: response.raise_for_status() return response except (httpx.RemoteProtocolError, httpx.ConnectError) as e: - verbose_logger.warning(f"{type(e).__name__} on POST {url}: {e}") + verbose_logger.warning(f"{type(e).__name__} on POST {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