From 335dcd3bf9774d6732c257719c4f2bb3a23d04d4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 28 Sep 2020 08:32:14 +0300 Subject: [PATCH] don't mention last_updated in non-zero failure error message because that's not what it means --- classes/rssutils.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/classes/rssutils.php b/classes/rssutils.php index 0d1524619..557002469 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -186,9 +186,8 @@ class RSSUtils { Debug::log("!! Last error: $error_message"); Logger::get()->log( - sprintf("Update process for feed %d (%s, owner UID: %d) terminated with non-zero exit code: %d (%s). Last successful update: %s.", - $tline["id"], clean($tline["title"]), $tline["owner_uid"], $exit_code, clean($error_message), - $tline["last_updated"])); + sprintf("Update process for feed %d (%s, owner UID: %d) terminated with non-zero exit code: %d (%s).", + $tline["id"], clean($tline["title"]), $tline["owner_uid"], $exit_code, clean($error_message))); } ++$nf;