mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-03 17:35:51 +00:00
Report more details if we can't open/create the LDB database.
This commit is contained in:
@@ -183,7 +183,8 @@ void Application::setup()
|
|||||||
leveldb::Status status = leveldb::DB::Open(options, (theConfig.DATA_DIR / "hashnode").string(), &mHashNodeLDB);
|
leveldb::Status status = leveldb::DB::Open(options, (theConfig.DATA_DIR / "hashnode").string(), &mHashNodeLDB);
|
||||||
if (!status.ok() || !mHashNodeLDB)
|
if (!status.ok() || !mHashNodeLDB)
|
||||||
{
|
{
|
||||||
cLog(lsFATAL) << "Unable to open/create hash node db";
|
cLog(lsFATAL) << "Unable to open/create hash node db: " << (theConfig.DATA_DIR / "hashnode").string();
|
||||||
|
StopSustain();
|
||||||
exit(3);
|
exit(3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user