mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-17 11:58:13 +00:00
transport_hid: raise on missing debuglink
This commit is contained in:
parent
259a61878b
commit
52f96b3792
@ -78,6 +78,7 @@ class HidTransport(Transport):
|
||||
for debug in HidTransport.enumerate(debug=True):
|
||||
if debug.device['serial_number'] == self.device['serial_number']:
|
||||
return debug
|
||||
raise Exception('Debug HID device not found')
|
||||
|
||||
def open(self):
|
||||
if self.hid:
|
||||
|
Loading…
Reference in New Issue
Block a user