Use HandleError() consistently to handle leveldb errors

This commit is contained in:
Gavin Andresen
2013-08-12 18:06:17 +10:00
parent 6cc766fa55
commit b35e993200
2 changed files with 4 additions and 7 deletions

View File

@@ -777,6 +777,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;
}