Skip to content

Commit b3ec71b

Browse files
author
Vihas Splunk
committed
fix: fix incorrect logging
1 parent a681a56 commit b3ec71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/splunk/kafka/connect/SplunkSinkTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ private void send(final EventBatch batch) {
313313
} catch (Exception ex) {
314314
batch.fail();
315315
onEventFailure(Arrays.asList(batch), ex);
316-
log.error("failed to send batch {}" ,batch.getUUID(), ex);
316+
log.error(String.format("failed to send batch %s", batch.getUUID()), ex);
317317
}
318318
}
319319

0 commit comments

Comments
 (0)