Skip to content

Commit 459b34c

Browse files
committed
Fix exception message in HeaderEnricher
1 parent d8e3677 commit 459b34c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka/src/main/java/org/springframework/kafka/streams/HeaderEnricher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public KeyValue<K, V> transform(K key, V value) {
6363
headerValue = ((String) headerValue).getBytes(StandardCharsets.UTF_8);
6464
}
6565
else if (!(headerValue instanceof byte[])) {
66-
throw new IllegalStateException("Invalid header value type" + headerValue.getClass());
66+
throw new IllegalStateException("Invalid header value type: " + headerValue.getClass());
6767
}
6868
headers.add(new RecordHeader(name, (byte[]) headerValue));
6969
});

0 commit comments

Comments
 (0)