[Fix] Ignore OperationsLog.addMessage if not yet initialized
This commit is contained in:
parent
b956c6edcd
commit
16696e5202
|
@ -64,6 +64,8 @@ public class OperationsLog extends StrolchComponent {
|
|||
}
|
||||
|
||||
public synchronized void addMessage(LogMessage logMessage) {
|
||||
if (this.logMessagesByRealmAndId == null)
|
||||
return;
|
||||
|
||||
// store in global list
|
||||
String realmName = logMessage.getRealm();
|
||||
|
|
Loading…
Reference in New Issue