Skip to content
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,16 @@ public static CreateMultipartUploadRequest convert(PutObjectRequest request) {
default:
// Rather than silently dropping the value,
// we loudly signal that we don't know how to handle this field.
throw new IllegalArgumentException("Unknown PutObjectRequest field " + f.locationName() + ".");
throw new IllegalArgumentException(
f.locationName() + " is an unknown field. " +
"The S3Encryption Client will not silently disable this option." +
"This may be a new S3 feature." +
"Please report this to the AWS S3Encryption Client for Java: " +
"https://github.com/aws/amazon-s3-encryption-client-java/issues." +
"To work around this issue you can disable multi part upload," +
"or not set this value on put." +
"You may also be able to update this value after the pub object request completes."
);
}
}
});
Expand Down
Loading