mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 23:41:35 +00:00
Explanation: Doesn't preserve the same behaviour as code throws BaseException not SystemExit. Therefore it wasn't meant to be catching user errors.
Revert "Added more descriptive error if wallet cannot be loaded"
This reverts commit 47432b32c8
.
This commit is contained in:
parent
dd78f0978b
commit
ce584890ea
1 changed files with 2 additions and 2 deletions
4
electrum
4
electrum
|
@ -179,8 +179,8 @@ if __name__ == '__main__':
|
|||
found = wallet.file_exists
|
||||
if not found:
|
||||
found = gui.restore_or_create()
|
||||
except IOError:
|
||||
exit("Error retrieving wallet file.")
|
||||
except SystemExit, e:
|
||||
exit(e)
|
||||
except BaseException, e:
|
||||
import traceback
|
||||
traceback.print_exc(file=sys.stdout)
|
||||
|
|
Loading…
Add table
Reference in a new issue