Deal with LevelDB errors

This commit is contained in:
Pieter Wuille
2013-01-29 01:44:19 +01:00
committed by Pieter Wuille
parent 7851033dd6
commit 421218d304
4 changed files with 74 additions and 39 deletions

View File

@@ -187,9 +187,9 @@ bool AppInit(int argc, char* argv[])
fRet = AppInit2();
}
catch (std::exception& e) {
PrintException(&e, "AppInit()");
PrintExceptionContinue(&e, "AppInit()");
} catch (...) {
PrintException(NULL, "AppInit()");
PrintExceptionContinue(NULL, "AppInit()");
}
if (!fRet)
Shutdown(NULL);