mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-27 14:05:50 +00:00
Improve reporting of missing node exceptions
This commit is contained in:
@@ -277,10 +277,10 @@ private:
|
||||
{
|
||||
hash = hashOfSeq(*ledger, index, j_);
|
||||
}
|
||||
catch (SHAMapMissingNode &)
|
||||
catch (SHAMapMissingNode const& mn)
|
||||
{
|
||||
JLOG (j_.warn()) <<
|
||||
"Node missing from ledger " << ledger->info().seq;
|
||||
"Ledger #" << ledger->info().seq << ": " << mn.what();
|
||||
app_.getInboundLedgers().acquire (
|
||||
ledger->info().hash, ledger->info().seq,
|
||||
InboundLedger::Reason::GENERIC);
|
||||
|
||||
Reference in New Issue
Block a user