mirror of
https://github.com/monero-project/monero.git
synced 2025-01-07 03:19:24 +00:00
wallet: report exact reason for open_wallet failure.
This commit is contained in:
parent
893916ad09
commit
33f6fa5f2e
1 changed files with 1 additions and 1 deletions
|
@ -3625,7 +3625,7 @@ namespace tools
|
||||||
if (!wal)
|
if (!wal)
|
||||||
{
|
{
|
||||||
er.code = WALLET_RPC_ERROR_CODE_UNKNOWN_ERROR;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue