diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-02-26 20:52:24 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-02-26 20:52:39 +0100 |
| commit | b81f9718df7768d74d4c5dce1097ba74f8515a76 (patch) | |
| tree | f6308bc6971891e48d4f34b77c4aaa900673e1ce /src/util.cpp | |
| parent | Merge pull request #3737 from jgarzik/op-return-size (diff) | |
| parent | Replace PrintException with PrintExceptionContinue + throw (diff) | |
| download | discoin-b81f9718df7768d74d4c5dce1097ba74f8515a76.tar.xz discoin-b81f9718df7768d74d4c5dce1097ba74f8515a76.zip | |
Merge pull request #3749
4423571 Replace PrintException with PrintExceptionContinue + throw (Wladimir J. van der Laan)
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/util.cpp b/src/util.cpp index 4e326ffcf..36dfd8ab7 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -948,15 +948,6 @@ void LogException(std::exception* pex, const char* pszThread) LogPrintf("\n%s", message); } -void PrintException(std::exception* pex, const char* pszThread) -{ - std::string message = FormatException(pex, pszThread); - LogPrintf("\n\n************************\n%s\n", message); - fprintf(stderr, "\n\n************************\n%s\n", message.c_str()); - strMiscWarning = message; - throw; -} - void PrintExceptionContinue(std::exception* pex, const char* pszThread) { std::string message = FormatException(pex, pszThread); |