Skip to content

Commit 2c9b325

Browse files
committed
fixup! feat: add USBBackendNotAvailable exception for improved error handling
1 parent 9c2ef24 commit 2c9b325

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/blinkstick/backends/unix_like.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def get_attached_blinkstick_devices(
4646
or []
4747
)
4848
except usb.core.NoBackendError:
49+
# TODO: improve this error message to provide more information on how to remediate the problem
4950
raise USBBackendNotAvailable(
5051
"Could not find USB backend. Is libusb installed?"
5152
)

0 commit comments

Comments
 (0)