aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-08-15 19:02:32 -0700
committerGavin Andresen <gavinandresen@gmail.com>2013-08-15 19:02:32 -0700
commit31b28082fe984990a251aa1a05cb4c4457edd310 (patch)
treeda12f6dc32efe3c233436fabd7e1e7b1d1f5be94 /src/init.cpp
parent3f20f8220918c34ea734e943b7d8c281ad33040c (diff)
parentb35e99320001fe2efdd96cd35b0170e30773bd09 (diff)
Merge pull request #2891 from gavinandresen/leveldb_printerror
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 9f3d526414..7182c14146 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -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;
}