diff options
-rw-r--r-- | kvmd/plugins/hid/otg/usb.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kvmd/plugins/hid/otg/usb.py b/kvmd/plugins/hid/otg/usb.py index 35800b0d..8e437b13 100644 --- a/kvmd/plugins/hid/otg/usb.py +++ b/kvmd/plugins/hid/otg/usb.py @@ -47,17 +47,17 @@ class UsbDeviceController: try: candidates = sorted(os.listdir(path)) except Exception as err: - logger.error("Can't list %s: %s: %s", path, type(err).__name__, err) + logger.error("Can't list %s: %s: %s: ignored", path, type(err).__name__, err) return udc = "" if not self.__udc: if len(candidates) == 0: - logger.warning("Can't find any UDC: ignored") + logger.error("Can't find any UDC: ignored") else: udc = candidates[0] elif self.__udc not in candidates: - logger.warning("Can't find selected UDC: %s: ignored", self.__udc) + logger.error("Can't find selected UDC: %s: ignored", self.__udc) else: udc = self.__udc |