Report more details if we can't open/create the LDB database.

This commit is contained in:
JoelKatz
2013-05-13 06:45:49 -07:00
parent c54c832382
commit cd08616cd2

View File

@@ -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);
}
}