tdisplay exception in convert_imported_keys - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 475424148532088a13a7042765bdb45acea1e8be
DIR parent 799a08514bbf169b0325e2cefb7be9c9b3988e3b
HTML Author: ThomasV <thomasv@gitorious>
Date: Thu, 12 Mar 2015 13:17:21 +0100
display exception in convert_imported_keys
Diffstat:
M gui/qt/main_window.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
t@@ -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):