You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usb.findByIds will return undefined if the device is not plugged in. The second line in the snippet below causes a error to be thrown TypeError: Cannot read property 'open' of undefined.
usb.findByIds
will returnundefined
if the device is not plugged in. The second line in the snippet below causes a error to be thrownTypeError: Cannot read property 'open' of undefined
.Would it be possible it either return a error to the callback or throw a exception? If you could state your preference I don't mind raising a PR.
The text was updated successfully, but these errors were encountered: