Merge pull request #2891 from gavinandresen/leveldb_printerror

Use HandleError() consistently to handle leveldb errors
This commit is contained in:
Gavin Andresen
2013-08-15 19:02:32 -07:00
2 changed files with 4 additions and 7 deletions

View File

@@ -778,6 +778,7 @@ bool AppInit2(boost::thread_group& threadGroup)
break;
}
} catch(std::exception &e) {
if (fDebug) printf("%s\n", e.what());
strLoadError = _("Error opening block database");
break;
}