diff --git a/src/workers/autotag_s3_worker.js b/src/workers/autotag_s3_worker.js index c3e580a..5b61940 100644 --- a/src/workers/autotag_s3_worker.js +++ b/src/workers/autotag_s3_worker.js @@ -29,7 +29,7 @@ class AutotagS3Worker extends AutotagDefaultWorker { Bucket: this.getBucketName(), }, (err, res) => { if (err) { - if (err.code === 'NoSuchTagSet' && err.statusCode === 404) { + if (err.Code === 'NoSuchTagSet' && err.statusCode === 404) { resolve([]); } else { reject(err);