aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-08-12 18:06:17 +1000
committerGavin Andresen <gavinandresen@gmail.com>2013-08-12 18:06:17 +1000
commitb35e99320001fe2efdd96cd35b0170e30773bd09 (patch)
tree73e08526517f0ae72d752623e7162fc85d8eb443 /src/init.cpp
parent6cc766fa55c0d74916d615c69689e9e798bf0aba (diff)
Use HandleError() consistently to handle leveldb errors
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 20d334019d..95d6cf1153 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -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;
}