mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
extend std::exception logging in txdb.cpp
This commit is contained in:
parent
365350140a
commit
96e5f61d6c
@ -148,7 +148,7 @@ bool CCoinsViewDB::GetStats(CCoinsStats &stats) {
|
||||
}
|
||||
pcursor->Next();
|
||||
} catch (std::exception &e) {
|
||||
return error("%s() : deserialize error", __PRETTY_FUNCTION__);
|
||||
return error("%s : Deserialize or I/O error - %s", __PRETTY_FUNCTION__, e.what());
|
||||
}
|
||||
}
|
||||
delete pcursor;
|
||||
@ -226,7 +226,7 @@ bool CBlockTreeDB::LoadBlockIndexGuts()
|
||||
break; // if shutdown requested or finished loading block index
|
||||
}
|
||||
} catch (std::exception &e) {
|
||||
return error("%s() : deserialize error", __PRETTY_FUNCTION__);
|
||||
return error("%s : Deserialize or I/O error - %s", __PRETTY_FUNCTION__, e.what());
|
||||
}
|
||||
}
|
||||
delete pcursor;
|
||||
|
Loading…
Reference in New Issue
Block a user