diff --git a/pom.xml b/pom.xml index eeb5e064..d945526a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.uid2 uid2-shared - 8.0.32 + 8.0.33-alpha-189-SNAPSHOT ${project.groupId}:${project.artifactId} Library for all the shared uid2 operations https://github.com/IABTechLab/uid2docs diff --git a/src/main/java/com/uid2/shared/cloud/CloudStorageS3.java b/src/main/java/com/uid2/shared/cloud/CloudStorageS3.java index 21a82c62..4857c6f4 100644 --- a/src/main/java/com/uid2/shared/cloud/CloudStorageS3.java +++ b/src/main/java/com/uid2/shared/cloud/CloudStorageS3.java @@ -131,6 +131,7 @@ public InputStream download(String cloudPath) throws CloudStorageException { S3Object obj = this.s3.getObject(bucket, cloudPath); return obj.getObjectContent(); } catch (AmazonS3Exception e) { + LOGGER.error("AWS S3 error: " + e.getMessage() + " for path: " + cloudPath + " in bucket: " + bucket); if (e.getErrorCode().equals("NoSuchKey")) { throw new CloudStorageException("The specified key does not exist: " + e.getClass().getSimpleName() + ": " + bucket); } else {