mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-29 21:42:32 +02:00
init: Remove confusing and redundant InitError
The "A fatal internal error occurred, see debug.log for details" is redundant because init.cpp will already show an InitError with a better error message as well as the hint to check the debug.log
This commit is contained in:
parent
dc5333d31f
commit
fa83b39ff3
@ -9,7 +9,6 @@
|
|||||||
#include <httpserver.h>
|
#include <httpserver.h>
|
||||||
#include <rpc/protocol.h>
|
#include <rpc/protocol.h>
|
||||||
#include <rpc/server.h>
|
#include <rpc/server.h>
|
||||||
#include <ui_interface.h>
|
|
||||||
#include <util/strencodings.h>
|
#include <util/strencodings.h>
|
||||||
#include <util/system.h>
|
#include <util/system.h>
|
||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
@ -251,9 +250,6 @@ static bool InitRPCAuthentication()
|
|||||||
{
|
{
|
||||||
LogPrintf("No rpcpassword set - using random cookie authentication.\n");
|
LogPrintf("No rpcpassword set - using random cookie authentication.\n");
|
||||||
if (!GenerateAuthCookie(&strRPCUserColonPass)) {
|
if (!GenerateAuthCookie(&strRPCUserColonPass)) {
|
||||||
uiInterface.ThreadSafeMessageBox(
|
|
||||||
_("Error: A fatal internal error occurred, see debug.log for details"), // Same message as AbortNode
|
|
||||||
"", CClientUIInterface::MSG_ERROR);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user