aboutsummaryrefslogtreecommitdiff
path: root/jobmanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'jobmanager.py')
-rwxr-xr-xjobmanager.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/jobmanager.py b/jobmanager.py
index 1683e2c..5b3505f 100755
--- a/jobmanager.py
+++ b/jobmanager.py
@@ -69,6 +69,7 @@ class JobManager:
if lastRunStatus.CurrentStateSuccess == False and \
thisJob.notifyOnFailureEvery() == JobBase.JobFailureNotificationFrequency.ONSTATECHANGE and \
lastRunStatus.NumFailures >= thisJob.numberFailuresBeforeNotification():
+ logging.info("Notifying of success (state change). " + str(lastRunStatus.NumFailures) + " >= " + str(thisJob.numberFailuresBeforeNotification()))
if not thisJob.onStateChangeSuccess():
emailWorks = False
lastRunStatus.markSuccessful()