mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
parent
d2a80f15a1
commit
4db1535bce
1 changed files with 6 additions and 6 deletions
|
@ -233,7 +233,12 @@ class ElectrumGui(Logger):
|
|||
if not app_is_starting:
|
||||
return
|
||||
if not wallet:
|
||||
wallet = self._start_wizard_to_select_or_create_wallet(path)
|
||||
try:
|
||||
wallet = self._start_wizard_to_select_or_create_wallet(path)
|
||||
except (WalletFileException, BitcoinException) as e:
|
||||
self.logger.exception('')
|
||||
QMessageBox.warning(None, _('Error'),
|
||||
_('Cannot load wallet') + ' (2):\n' + str(e))
|
||||
if not wallet:
|
||||
return
|
||||
# create or raise window
|
||||
|
@ -275,11 +280,6 @@ class ElectrumGui(Logger):
|
|||
return
|
||||
except WalletAlreadyOpenInMemory as e:
|
||||
return e.wallet
|
||||
except (WalletFileException, BitcoinException) as e:
|
||||
self.logger.exception('')
|
||||
QMessageBox.warning(None, _('Error'),
|
||||
_('Cannot load wallet') + ' (2):\n' + str(e))
|
||||
return
|
||||
finally:
|
||||
wizard.terminate()
|
||||
# return if wallet creation is not complete
|
||||
|
|
Loading…
Add table
Reference in a new issue