Skip to content

Commit 4563e32

Browse files
committed
More polishing - add Method to log
1 parent 07a8b09 commit 4563e32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-kafka/src/main/java/org/springframework/kafka/config/MethodKafkaListenerEndpoint.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ private String getReplyTopic() {
112112
if (ann != null) {
113113
if (method.getReturnType().equals(void.class)) {
114114
if (this.logger.isWarnEnabled()) {
115-
this.logger.warn("Method has a void return type; @SendTo is ignored" +
115+
this.logger.warn("Method "
116+
+ method
117+
+ " has a void return type; @SendTo is ignored" +
116118
(this.errorHandler == null ? "" : " unless the error handler returns a result"));
117119
}
118120
}

0 commit comments

Comments
 (0)