display exception in convert_imported_keys

This commit is contained in:
ThomasV 2015-03-12 13:17:21 +01:00
parent 799a08514b
commit 4754241485
1 changed files with 3 additions and 2 deletions

View File

@ -248,8 +248,9 @@ class ElectrumWindow(QMainWindow):
password = self.password_dialog(_("Please enter your password in order to update imported keys")) if self.wallet.use_encryption else None
try:
self.wallet.convert_imported_keys(password)
except:
self.show_message("error")
except Exception as e:
traceback.print_exc(file=sys.stdout)
self.show_message(str(e))
def open_wallet(self):