Skip to content

Commit

Permalink
GH-565 - Use error log in PersistentApplicationEventMulticaster if li…
Browse files Browse the repository at this point in the history
…stener not found.

Related pull request: GH-548.
  • Loading branch information
benjaminknauer authored and odrotbohm committed Apr 29, 2024
1 parent 7fc2e39 commit c5c0586
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private void invokeTargetListener(EventPublication publication) {
.map(it -> executeListenerWithCompletion(publication, it)) //
.orElseGet(() -> {

LOGGER.debug("Listener {} not found!", publication.getTargetIdentifier());
LOGGER.error("Listener {} not found! Skipping invocation and leaving event publication {} incomplete.", publication.getTargetIdentifier(), publication.getIdentifier());
return null;
});
}
Expand Down

0 comments on commit c5c0586

Please sign in to comment.