[FIX] Whoops
This commit is contained in:
parent
dd14c3491e
commit
adb5910de8
@ -79,7 +79,7 @@ if ($setting->getValue('disable_manual_payouts') != 1) {
|
|||||||
if (!$notification->sendNotification($aData['account_id'], 'manual_payout', $aMailData))
|
if (!$notification->sendNotification($aData['account_id'], 'manual_payout', $aMailData))
|
||||||
$log->logError('Failed to send notification email to users address: ' . $aMailData['email'] . 'ERROR: ' . $notification->getCronError());
|
$log->logError('Failed to send notification email to users address: ' . $aMailData['email'] . 'ERROR: ' . $notification->getCronError());
|
||||||
// Recheck the users balance to make sure it is now 0
|
// Recheck the users balance to make sure it is now 0
|
||||||
if (!$aBalance = $transaction->getBalance($aData['account_id']) {
|
if (!$aBalance = $transaction->getBalance($aData['account_id'])) {
|
||||||
$log->logFatal('Failed to fetch balance for account ' . $aData['account_id'] . '. ERROR: ' . $transaction->getCronError());
|
$log->logFatal('Failed to fetch balance for account ' . $aData['account_id'] . '. ERROR: ' . $transaction->getCronError());
|
||||||
$monitoring->endCronjob($cron_name, 'E0065', 1, true);
|
$monitoring->endCronjob($cron_name, 'E0065', 1, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user