1
0

hw plugins: coldcard: log error when I forget to set udev rules

so that next time I check that before changing cables, usb hubs, and VMs o.O
This commit is contained in:
SomberNight
2026-01-05 16:06:24 +00:00
parent 3bd5f1a681
commit f1f4fc0939

View File

@@ -72,7 +72,11 @@ class CKCCClient(HardwareClientBase):
else:
# open the real HID device
hd = hid.device(path=dev_path)
hd.open_path(dev_path)
try:
hd.open_path(dev_path)
except OSError:
_logger.error('cannot open hid path. Did you forget to configure udev rules?')
raise
self.dev = ElectrumColdcardDevice(dev=hd, encrypt=True)