mirror of https://github.com/apache/nifi.git
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…
Reference in New Issue