From 85c1a8eaf55a963789e52e3ea16ae69111414ba3 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Tue, 9 Jul 2013 22:41:07 +0200 Subject: [PATCH] more debug information on non-existing block shares --- cronjobs/pplns_payout.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cronjobs/pplns_payout.php b/cronjobs/pplns_payout.php index 54c229bd..9657b394 100755 --- a/cronjobs/pplns_payout.php +++ b/cronjobs/pplns_payout.php @@ -61,7 +61,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) { $log->logDebug("Matching or exceeding PPLNS target of $pplns_target with $iRoundShares"); $aAccountShares = $share->getSharesForAccounts($aBlock['share_id'] - $pplns_target + 1, $aBlock['share_id']); if (empty($aAccountShares)) { - $log->logFatal("No shares found for this block, aborted!"); + $log->logFatal("No shares found for this block, aborted! Block Height : " . $aBlock['height']); exit(1); } } else { @@ -70,7 +70,7 @@ foreach ($aAllBlocks as $iIndex => $aBlock) { // Grab the full current round shares since we didn't match target $aAccountShares = $aRoundAccountShares; if (empty($aAccountShares)) { - $log->logFatal("No shares found for this block, aborted!"); + $log->logFatal("No shares found for this block, aborted! Block height: " . $aBlock['height']); exit(1); }