util: Don't set strMiscWarning on every exception

Fixes bitcoin/bitcoin#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 committed by Daira Hopwood
parent 27c04c8f9c
commit f08e31382b
1 changed files with 0 additions and 1 deletions

View File

@ -449,7 +449,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()