mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +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
3494649b2f
commit
c4fc5b1da4
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue