EMS: Added null check in LogMessageUpdateInterceptor class to prevent NPE
This commit is contained in:
parent
8e7bef13c5
commit
08aa28a218
@ -27,7 +27,8 @@ public class LogMessageUpdateInterceptor extends AbstractMessageInterceptor {
|
||||
public void initialized() {
|
||||
this.eventRecorder = applicationContext.getBean(BrokerConfig.class).getEventRecorder();
|
||||
log.debug("LogMessageUpdateInterceptor: Enabled: {}", eventRecorder!=null);
|
||||
eventRecorder.startRecording();
|
||||
if (eventRecorder!=null)
|
||||
eventRecorder.startRecording();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user