util: Don't set strMiscWarning on every exception

Fixes #6809 - run-of-the-mill exceptions should not get into
strMiscWarning (which is reported by `getinfo`).
This commit is contained in:
Wladimir J. van der Laan 2015-11-27 13:35:49 +01:00
parent 5ca149a3db
commit 9b63758974

View File

@ -447,7 +447,6 @@ void PrintExceptionContinue(const 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;
}
boost::filesystem::path GetDefaultDataDir()