Update litellm/llms/custom_httpx/http_handler.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
hliu-roblox 2026-03-31 16:15:51 -07:00 committed by GitHub
parent c4fc5b1da4
commit 6d97437025
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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