From 475424148532088a13a7042765bdb45acea1e8be Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 12 Mar 2015 13:17:21 +0100 Subject: [PATCH] display exception in convert_imported_keys --- gui/qt/main_window.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index db32a4686..f9dd8cbff 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -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):