mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
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:
parent
5ca149a3db
commit
9b63758974
@ -447,7 +447,6 @@ void PrintExceptionContinue(const std::exception* pex, const char* pszThread)
|
|||||||
std::string message = FormatException(pex, pszThread);
|
std::string message = FormatException(pex, pszThread);
|
||||||
LogPrintf("\n\n************************\n%s\n", message);
|
LogPrintf("\n\n************************\n%s\n", message);
|
||||||
fprintf(stderr, "\n\n************************\n%s\n", message.c_str());
|
fprintf(stderr, "\n\n************************\n%s\n", message.c_str());
|
||||||
strMiscWarning = message;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::filesystem::path GetDefaultDataDir()
|
boost::filesystem::path GetDefaultDataDir()
|
||||||
|
Loading…
Reference in New Issue
Block a user