mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
adds logging for missing vault
This commit is contained in:
@@ -49,8 +49,12 @@ LoanBrokerDelete::preclaim(PreclaimContext const& ctx)
|
|||||||
|
|
||||||
auto const vault = ctx.view.read(keylet::vault(sleBroker->at(sfVaultID)));
|
auto const vault = ctx.view.read(keylet::vault(sleBroker->at(sfVaultID)));
|
||||||
if (!vault)
|
if (!vault)
|
||||||
// Should be impossible
|
{
|
||||||
return tefBAD_LEDGER; // LCOV_EXCL_LINE
|
// LCOV_EXCL_START
|
||||||
|
JLOG(ctx.j.fatal()) << "Vault is missing for Broker " << brokerID;
|
||||||
|
return tefBAD_LEDGER;
|
||||||
|
// LCOV_EXCL_STOP
|
||||||
|
}
|
||||||
|
|
||||||
Asset const asset = vault->at(sfAsset);
|
Asset const asset = vault->at(sfAsset);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user