Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.uid2</groupId>
<artifactId>uid2-shared</artifactId>
<version>8.0.32</version>
<version>8.0.33-alpha-189-SNAPSHOT</version>
<name>${project.groupId}:${project.artifactId}</name>
<description>Library for all the shared uid2 operations</description>
<url>https://github.com/IABTechLab/uid2docs</url>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/uid2/shared/cloud/CloudStorageS3.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down