electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit ed1001bf8b6bd311e4fd1796f9e06c808bac8e47
parent 9dfe8ff847cc40989e729d78fb92dc3e8861d077
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 28 Jun 2015 19:43:46 +0200

print trezor error message

Diffstat:
Mplugins/trezor.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/trezor.py b/plugins/trezor.py @@ -101,11 +101,12 @@ class Plugin(BasePlugin): d = HidTransport.enumerate()[0] self.transport = HidTransport(d) except: + import traceback + traceback.print_exc(file=sys.stdout) give_error('Could not connect to your Trezor. Please verify the cable is connected and that no other app is using it.') self.client = QtGuiTrezorClient(self.transport) self.client.handler = self.handler self.client.set_tx_api(self) - #self.client.clear_session()# TODO Doesn't work with firmware 1.1, returns proto.Failure self.client.bad = False if not self.atleast_version(1, 2, 1): give_error('Outdated Trezor firmware. Please update the firmware from https://www.mytrezor.com')