Work toward RPC refactor and do not print to cout.

This commit is contained in:
Arthur Britto
2012-12-01 17:58:32 -08:00
parent c2d6dc0ab7
commit 17b2506cd7
7 changed files with 246 additions and 379 deletions

View File

@@ -282,7 +282,7 @@ void Application::loadOldLedger()
if (!lastLedger)
{
std::cout << "No Ledger found?" << std::endl;
cLog(lsFATAL) << "No Ledger found?" << std::endl;
exit(-1);
}
lastLedger->setClosed();