URI: 
       tQT install wizard: catch general exceptions - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 4ea9518aef763533f6529c604a77d8ea176c8a38
   DIR parent 297e89db5ca356e416920756208656f5da9580d8
  HTML Author: Neil Booth <kyuupichan@gmail.com>
       Date:   Sat,  6 Feb 2016 15:13:27 +0900
       
       QT install wizard: catch general exceptions
       
       and show an error before re-raising and exiting.  Improvement on
       prior.
       
       Diffstat:
         M gui/qt/installwizard.py             |       3 +++
         M plugins/trezor/plugin.py            |       3 +--
       
       2 files changed, 4 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py
       t@@ -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):
   DIR diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py
       t@@ -221,8 +221,7 @@ class TrezorCompatiblePlugin(HW_PluginBase):
                devmgr = self.device_manager()
                device_info = devmgr.select_device(wallet, self)
                if not device_info:
       -            wallet.handler.show_error(_("No devices found"))
       -            raise RuntimeError("No devices found")
       +            raise RuntimeError(_("No devices found"))
                devmgr.pair_wallet(wallet, device_info.device.id_)
                if device_info.initialized:
                    task = partial(wallet.create_hd_account, None)