Update findblock.php

Make the E0005 error non-fatal, in order to prevent cronjobs being disabled in this condition.
Usually it is resolved on the next run.
This commit is contained in:
danbi 2014-01-26 17:25:26 +02:00
parent 1c94030c7b
commit f7548857ee

View File

@ -121,7 +121,7 @@ if (empty($aAllBlocks)) {
}
} else {
$log->logFatal('E0005: Unable to fetch blocks upstream share, aborted:' . $share->getCronError());
$monitoring->endCronjob($cron_name, 'E0005', 1, true);
$monitoring->endCronjob($cron_name, 'E0005', 0, true);
}
$log->logInfo(