Skip to content

Commit

Permalink
Debug logs for failed messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sobychacko committed Jun 23, 2023
1 parent 4178f71 commit 6e79c12
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,8 @@ else if (this.listener != null) {
inRetryMode.compareAndSet(true, false);
}
catch (Exception e) {
DefaultPulsarMessageListenerContainer.this.logger.debug(e,
() -> "Error dispatching the message to the listener.");
if (this.pulsarConsumerErrorHandler != null) {
invokeRecordListenerErrorHandler(inRetryMode, message, e);
}
Expand Down

0 comments on commit 6e79c12

Please sign in to comment.