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:
Pierre Villard 2016-02-16 12:34:26 +01:00 committed by Tony Kurc
parent c2998a71ec
commit 502aebc66a
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}