From 208d950cc775b11f865172ca53a827da5a7c5ecc Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Mon, 13 May 2013 06:45:49 -0700 Subject: [PATCH] Report more details if we can't open/create the LDB database. --- src/cpp/ripple/Application.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cpp/ripple/Application.cpp b/src/cpp/ripple/Application.cpp index ea7f1b66a..9840ffc9d 100644 --- a/src/cpp/ripple/Application.cpp +++ b/src/cpp/ripple/Application.cpp @@ -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); } }