mirror of https://github.com/apache/nifi.git
Fix a type and modify an error message
This commit is contained in:
parent
0334f04640
commit
c492a1aaae
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue