Ensure we are able to fetch the upstream share
* If a block was found but the upstream share is not inserted, bail out * Next run should find the upstream share if it was added properly Should address #189 but maybe not a fix yet.
This commit is contained in:
parent
905898700a
commit
d3fa335e2c
@ -82,9 +82,9 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
|
||||
$iCurrentUpstreamId = $share->getUpstreamId();
|
||||
$iAccountId = $user->getUserId($share->getUpstreamFinder());
|
||||
} else {
|
||||
verbose("Unable to fetch blocks upstream share\n");
|
||||
verbose("Unable to fetch blocks upstream share. Aborting!\n");
|
||||
verbose($share->getError() . "\n");
|
||||
continue;
|
||||
exit;
|
||||
}
|
||||
// Fetch share information
|
||||
if (!$iPreviousShareId = $block->getLastShareId()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user