[UPDATE] E0003 SQL logging

This commit is contained in:
Sebastian Grewe 2013-11-11 17:36:01 +01:00
parent d155804a06
commit 5f0e8638dd

View File

@ -99,7 +99,7 @@ if (empty($aAllBlocks)) {
// Shares seem to be out of order, so lets change them
if ( !$share->updateShareById($iCurrentUpstreamId, $aShareError) || !$share->updateShareById($iPreviousShareId, $aShareCurrent)) {
// We couldn't update one of the shares! That might mean they have been deleted already
$log->logFatal('E0003: Failed to change shares order!');
$log->logFatal('E0003: Failed to change shares order: ' . $share->getCronError());
$monitoring->endCronjob($cron_name, 'E0003', 1, true);
}
// Reset our offending block so the next run re-checks the shares