mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
IOError: add file path to exception message
This commit is contained in:
parent
4476d37aee
commit
a5a7a34c2d
1 changed files with 2 additions and 2 deletions
|
@ -96,8 +96,8 @@ class WalletStorage(object):
|
|||
except:
|
||||
try:
|
||||
d = ast.literal_eval(data) #parse raw data from reading wallet file
|
||||
except Exception:
|
||||
raise IOError("Cannot read wallet file.")
|
||||
except Exception as e:
|
||||
raise IOError("Cannot read wallet file '%s'" % self.path)
|
||||
self.data = {}
|
||||
for key, value in d.items():
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue