mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
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:
parent
c4fc5b1da4
commit
6d97437025
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue