mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
improve error message (see #2991)
This commit is contained in:
parent
73c7fbcc69
commit
0bc53d34d1
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ class Daemon(DaemonThread):
|
||||||
path = config.get_wallet_path()
|
path = config.get_wallet_path()
|
||||||
wallet = self.wallets.get(path)
|
wallet = self.wallets.get(path)
|
||||||
if wallet is None:
|
if wallet is None:
|
||||||
return {'error': 'Wallet not open. Use "electrum daemon load_wallet"'}
|
return {'error': 'Wallet "%s" is not loaded. Use "electrum daemon load_wallet"'%os.path.basename(path) }
|
||||||
else:
|
else:
|
||||||
wallet = None
|
wallet = None
|
||||||
# arguments passed to function
|
# arguments passed to function
|
||||||
|
|
Loading…
Add table
Reference in a new issue