mirror of
https://github.com/apache/nifi.git
synced 2025-02-17 23:47:08 +00:00
NIFI-1063 Fixed exception logging
Fixed logging of an exception in PutHDFS Reviewed by Tony Kurc (tkurc@apache.org). This closes #226
This commit is contained in:
parent
c2998a71ec
commit
502aebc66a
@ -344,7 +344,7 @@ public class PutHDFS extends AbstractHadoopProcessor {
|
||||
getLogger().error("Unable to remove temporary file {} due to {}", new Object[]{tempDotCopyFile, e});
|
||||
}
|
||||
}
|
||||
getLogger().error("Failed to write to HDFS due to {}", t);
|
||||
getLogger().error("Failed to write to HDFS due to {}", new Object[]{t});
|
||||
session.transfer(session.penalize(flowFile), REL_FAILURE);
|
||||
context.yield();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user