Skip to content

Commit

Permalink
Change log level, these S3 issues are too verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Jan 28, 2025
1 parent fc2af69 commit 77a153f
Show file tree
Hide file tree
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,4 +1,5 @@
Unreleased:
* FIX: Change log level of S3 missing keys message (@benoit #xxxx)

1.14.0:
* FIX: Remove S3 upload concurrency to avoid 'RequestTimeTooSkewed' errors (@benoi74 #2118)
Expand Down
2 changes: 1 addition & 1 deletion src/S3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,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.`)
Expand Down

0 comments on commit 77a153f

Please sign in to comment.