[IMPROVE] More verbose logs on addBlock errors
This commit is contained in:
parent
c418e98aca
commit
385387f393
@ -63,7 +63,7 @@ if (empty($aTransactions['transactions'])) {
|
||||
continue;
|
||||
}
|
||||
if (!$block->addBlock($aData) ) {
|
||||
$log->logFatal('Unable to add this block to database: ' . $aData['height']);
|
||||
$log->logFatal('Unable to add block: ' . $aData['height'] . ': ' . $block->getCronError());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user