mirror of
https://codeberg.org/wownero/wownero.git
synced 2026-11-11 08:43:56 +01:00
wallet: report exact reason for open_wallet failure.
This commit is contained in:
@@ -3466,7 +3466,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user