don't mention last_updated in non-zero failure error message because that's not what it means

This commit is contained in:
Andrew Dolgov 2020-09-28 08:32:14 +03:00
parent 3534b8dfa7
commit 335dcd3bf9
1 changed files with 2 additions and 3 deletions

View File

@ -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;