commit 475424148532088a13a7042765bdb45acea1e8be
parent 799a08514bbf169b0325e2cefb7be9c9b3988e3b
Author: ThomasV <thomasv@gitorious>
Date: Thu, 12 Mar 2015 13:17:21 +0100
display exception in convert_imported_keys
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git 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):