Skip to content

Commit

Permalink
Change log level of S3 missing keys message
Browse files Browse the repository at this point in the history
benoit74 committed Jan 29, 2025
1 parent efbe8a2 commit 5bc9a61
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Unreleased:
* FIX: Ensure AWS SDK has access to object size when issuing an upload (@benoit #2117)
* FIX: Change log level of S3 missing keys message (@benoit #2144)

1.14.0:
* FIX: Remove S3 upload concurrency to avoid 'RequestTimeTooSkewed' errors (@benoi74 #2118)
2 changes: 1 addition & 1 deletion src/S3.ts
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@ class S3 {
.catch((err: any) => {
// For 404 error handle AWS service-specific exception
if (err && err.name === 'NoSuchKey') {
logger.log(`The specified key '${key}' does not exist in the cache.`)
logger.info(`The specified key '${key}' does not exist in the cache.`)
resolve(null)
} else {
logger.error(`Error (${err}) while downloading the object '${key}' from the cache.`)

0 comments on commit 5bc9a61

Please sign in to comment.