From 206e2b97373664c6853d030b2036ec3d9aebfaff Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Sat, 25 Mar 2017 17:39:56 +1300 Subject: [PATCH] Wrap error string --- src/bitcoin-cli.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index 81366205f..a4f948bb0 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -199,7 +199,8 @@ UniValue CallRPC(const string& strMethod, const UniValue& params) // Try fall back to cookie-based authentication if no password is provided if (!GetAuthCookie(&strRPCUserColonPass)) { throw runtime_error(strprintf( - _("Could not locate RPC credentials. No authentication cookie could be found, and no rpcpassword is set in the configuration file (%s)"), + _("Could not locate RPC credentials. No authentication cookie could be found,\n" + "and no rpcpassword is set in the configuration file (%s)."), GetConfigFile().string().c_str())); }