fixed error message reporting (#5979)

This commit is contained in:
Ravinarayan Singh 2022-04-21 08:12:02 -05:00 committed by GitHub
parent aeaec170d5
commit 28c7583bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class InFlightMessageTracker {
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();