diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 478bf37d8..334376062 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -3625,7 +3625,7 @@ namespace tools if (!wal) { er.code = WALLET_RPC_ERROR_CODE_UNKNOWN_ERROR; - er.message = "Failed to open wallet"; + er.message = "Failed to open wallet : " + (!er.message.empty() ? er.message : "Unknown."); return false; }