mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 21:15:58 +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);
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user