better automation logging
This commit is contained in:
parent
5432fce13d
commit
deb99f236b
|
@ -177,10 +177,9 @@ class AutomationPlugin @Inject constructor(
|
||||||
|
|
||||||
@Synchronized
|
@Synchronized
|
||||||
private fun processActions() {
|
private fun processActions() {
|
||||||
if (!isEnabled(PluginType.GENERAL))
|
if (loopPlugin.isSuspended || !loopPlugin.isEnabled()) {
|
||||||
return
|
|
||||||
if (loopPlugin.isSuspended || !loopPlugin.isEnabled(PluginType.LOOP)) {
|
|
||||||
aapsLogger.debug(LTag.AUTOMATION, "Loop deactivated")
|
aapsLogger.debug(LTag.AUTOMATION, "Loop deactivated")
|
||||||
|
executionLog.add(resourceHelper.gs(R.string.smscommunicator_loopisdisabled))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
val enabled = constraintChecker.isAutomationEnabled()
|
val enabled = constraintChecker.isAutomationEnabled()
|
||||||
|
|
Loading…
Reference in a new issue