mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 13:09:24 -05:00
Merge pull request #9581
33f6fa5
wallet: report exact reason for open_wallet failure. (0xFFFC0000)
This commit is contained in:
commit
869028ce9d
@ -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 New Issue
Block a user