tfix crash #1987 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 45aab8654d3e2cfb2d01aa04f55693411872f0eb DIR parent 3f64e4d1f8dfea9396a2e746801f46ea41df8064 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 20 Oct 2016 08:32:44 +0200 fix crash #1987 Diffstat: M lib/base_wizard.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/base_wizard.py b/lib/base_wizard.py t@@ -208,7 +208,12 @@ class BaseWizard(object): def on_device(self, name, device_info): self.plugin = self.plugins.get_plugin(name) - self.plugin.setup_device(device_info, self) + try: + self.plugin.setup_device(device_info, self) + except BaseException as e: + self.show_error(str(e)) + self.choose_hw_device() + return if self.wallet_type=='multisig': # There is no general standard for HD multisig. # This is partially compatible with BIP45; assumes index=0