diff --git a/libethereum/BlockChain.cpp b/libethereum/BlockChain.cpp index 3834e2786..230eb39eb 100644 --- a/libethereum/BlockChain.cpp +++ b/libethereum/BlockChain.cpp @@ -216,7 +216,12 @@ unsigned BlockChain::openDatabase(std::string const& _path, WithExisting _we) } else { - cwarn << "Database already open. You appear to have another instance of ethereum running. Bailing."; + cwarn << + "Database " << + (chainPath + "/blocks") << + "or " << + (extrasPath + "/extras") << + "already open. You appear to have another instance of ethereum running. Bailing."; BOOST_THROW_EXCEPTION(DatabaseAlreadyOpen()); } } diff --git a/libethereum/State.cpp b/libethereum/State.cpp index 07390a192..955646f04 100644 --- a/libethereum/State.cpp +++ b/libethereum/State.cpp @@ -102,7 +102,10 @@ OverlayDB State::openDB(std::string const& _basePath, h256 const& _genesisHash, else { cwarn << status.ToString(); - cwarn << "Database already open. You appear to have another instance of ethereum running. Bailing."; + cwarn << + "Database " << + (path + "/state") << + "already open. You appear to have another instance of ethereum running. Bailing."; BOOST_THROW_EXCEPTION(DatabaseAlreadyOpen()); } }