Skip to content

Commit fa83b39

Browse files
author
MarcoFalke
committed
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
1 parent dc5333d commit fa83b39

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/httprpc.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <httpserver.h>
1010
#include <rpc/protocol.h>
1111
#include <rpc/server.h>
12-
#include <ui_interface.h>
1312
#include <util/strencodings.h>
1413
#include <util/system.h>
1514
#include <util/translation.h>
@@ -251,9 +250,6 @@ static bool InitRPCAuthentication()
251250
{
252251
LogPrintf("No rpcpassword set - using random cookie authentication.\n");
253252
if (!GenerateAuthCookie(&strRPCUserColonPass)) {
254-
uiInterface.ThreadSafeMessageBox(
255-
_("Error: A fatal internal error occurred, see debug.log for details"), // Same message as AbortNode
256-
"", CClientUIInterface::MSG_ERROR);
257253
return false;
258254
}
259255
} else {

0 commit comments

Comments
 (0)