mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-20 18:20:33 +00:00
fix(caching.py): Stop throwing constant spam errors on every single S3 cache miss. Fixes #4146.
This commit is contained in:
committed by
Krrish Dholakia
parent
4408c7889b
commit
ddb60edb74
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user