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:
parent
1c94030c7b
commit
f7548857ee
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user