mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(caching.py): Stop throwing constant spam errors on every single S3 cache miss. Fixes #4146.
This commit is contained in:
parent
944d95d636
commit
cf10d13ac5
1 changed files with 1 additions and 1 deletions
|
@ -1192,7 +1192,7 @@ class S3Cache(BaseCache):
|
|||
return cached_response
|
||||
except botocore.exceptions.ClientError as e:
|
||||
if e.response["Error"]["Code"] == "NoSuchKey":
|
||||
verbose_logger.error(
|
||||
verbose_logger.debug(
|
||||
f"S3 Cache: The specified key '{key}' does not exist in the S3 bucket."
|
||||
)
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue