diff options
| author | Jeff Garzik <[email protected]> | 2012-05-22 14:39:49 -0700 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-05-22 14:39:49 -0700 |
| commit | 5d0f7c4f47e6b9aa382846dd9b4a034e724d461a (patch) | |
| tree | ce4b08cbe53dee3091698617fdcecb1665f7ccd0 /src/main.cpp | |
| parent | Merge pull request #1369 from sipa/bootorder (diff) | |
| parent | Prevent crashes due to missing or corrupted blk????.dat records (diff) | |
| download | discoin-5d0f7c4f47e6b9aa382846dd9b4a034e724d461a.tar.xz discoin-5d0f7c4f47e6b9aa382846dd9b4a034e724d461a.zip | |
Merge pull request #1381 from jgarzik/check-deser
Prevent crashes due to missing or corrupted database records
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2c7f1fa5a..546f8542a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2133,8 +2133,9 @@ bool LoadExternalBlockFile(FILE* fileIn) } } } - catch (std::exception &e) - { + catch (std::exception &e) { + printf("%s() : Deserialize or I/O error caught during load\n", + __PRETTY_FUNCTION__); } } printf("Loaded %i blocks from external file\n", nLoaded); |