Skip to content

Commit

Permalink
fixed error message reporting (apache#5979)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinarayansingh authored Apr 21, 2022
1 parent aeaec17 commit 28c7583
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public int getSentCount(final FlowFile flowFile) {

public void fail(final FlowFile flowFile, final Exception exception) {
failures.putIfAbsent(flowFile, exception);
logger.error("Failed to send " + flowFile + " to Kafka", exception);
logger.error("Failed to send {} to Kafka", flowFile, exception);

synchronized (progressMutex) {
progressMutex.notify();
Expand Down

0 comments on commit 28c7583

Please sign in to comment.