logging condition
This commit is contained in:
parent
7406577546
commit
3c11e87d2d
|
@ -61,6 +61,7 @@ public class ActionProfileSwitch extends Action {
|
||||||
ProfileStore profileStore = activeProfile.getProfile();
|
ProfileStore profileStore = activeProfile.getProfile();
|
||||||
if (profileStore == null) return;
|
if (profileStore == null) return;
|
||||||
if(profileStore.getSpecificProfile(profileName) == null) {
|
if(profileStore.getSpecificProfile(profileName) == null) {
|
||||||
|
if (L.isEnabled(L.AUTOMATION))
|
||||||
log.error("Selected profile does not exist! - "+ profileName);
|
log.error("Selected profile does not exist! - "+ profileName);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue