QT install wizard: catch general exceptions
and show an error before re-raising and exiting. Improvement on prior.
This commit is contained in:
@@ -166,6 +166,9 @@ class InstallWizard(QDialog, MessageBoxMixin, WizardBase):
|
||||
except UserCancelled:
|
||||
self.print_error("wallet creation cancelled by user")
|
||||
self.accept() # For when called from menu
|
||||
except BaseException as e:
|
||||
self.show_error(str(e))
|
||||
raise
|
||||
return wallet
|
||||
|
||||
def remove_from_recently_open(self, filename):
|
||||
|
||||
Reference in New Issue
Block a user