GH-549 - Use error log in PersistentApplicationEventMulticaster if listener not found.
Related pull request: GH-548.
This commit is contained in:
committed by
Oliver Drotbohm
parent
0361503fd6
commit
32f4cbca4d
@@ -187,7 +187,7 @@ public class PersistentApplicationEventMulticaster extends AbstractApplicationEv
|
||||
.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;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user