Merge pull request #4177 from Manouchehri/fix-constant-log-spam-4146

Stop throwing constant S3 spam on cache misses
This commit is contained in:
Krish Dholakia 2024-06-13 14:46:05 -07:00 committed by GitHub
commit ec3e2a1e66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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