mirror of
https://github.com/monero-project/monero.git
synced 2024-12-26 10:29:25 -05:00
wallet: report exact reason for open_wallet failure.
This commit is contained in:
parent
58a1d54a4f
commit
20a1c00b6c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user