Fix a type and modify an error message

This commit is contained in:
Yuu ISHIKAWA 2015-09-02 21:54:02 +09:00
parent 0334f04640
commit c492a1aaae
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public class DeleteS3Object extends AbstractS3Processor {
try { try {
s3.getObjectMetadata(bucket, key); s3.getObjectMetadata(bucket, key);
} catch (final AmazonServiceException ase) { } catch (final AmazonServiceException ase) {
getLogger().error("Not found sucha a file and folder on Amazon S3 {}", new Object[]{flowFile, ase}); getLogger().error("Not found such a S3 object for {}; routing to not found", new Object[]{flowFile, ase});
session.transfer(flowFile, REL_NOT_FOUND); session.transfer(flowFile, REL_NOT_FOUND);
return; return;
} }