From dc4e2c43df1bc360dce847efd8010a452fb7452a Mon Sep 17 00:00:00 2001 From: iTeV Date: Mon, 15 Feb 2021 16:34:23 +0100 Subject: [PATCH] Only send alert when feed is enabled in configuration. --- src/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parser.php b/src/Parser.php index ab9fce1..ee6e398 100644 --- a/src/Parser.php +++ b/src/Parser.php @@ -137,7 +137,7 @@ protected function success() * Empty mail parsing results is useally a problem. So if the resultset is empty we set a single warning * to trigger an alert if the warning is set to error in the config. */ - if (empty($this->incidents)) { + if (empty($this->incidents) && $this->isEnabledFeed()) { $this->warningCount++; Log::warning( get_class($this) . ': ' .