Skip to content

Commit b322a0d

Browse files
committed
Fix Previous Commit
1 parent b6d5489 commit b322a0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-kafka/src/main/java/org/springframework/kafka/listener/RecoveringBatchErrorHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ private void commit(Consumer<?, ?> consumer, MessageListenerContainer container,
195195
}
196196

197197
private BatchListenerFailedException getBatchListenerFailedException(Throwable throwableArg) {
198-
if (throwable == null || throwable instanceof BatchListenerFailedException) {
199-
return (BatchListenerFailedException) throwable;
198+
if (throwableArg == null || throwableArg instanceof BatchListenerFailedException) {
199+
return (BatchListenerFailedException) throwableArg;
200200
}
201201

202202
BatchListenerFailedException target = null;

0 commit comments

Comments
 (0)