diff options
author | Devaev Maxim <[email protected]> | 2020-10-03 10:07:21 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-10-03 10:07:21 +0300 |
commit | ce4704f7c03e32249989cca5e3add0ea6465ab41 (patch) | |
tree | 33bab44257e775ad592add8e73e7f3094138270f /kvmd/plugins | |
parent | 2b2014f7b1c638184ab691fbf0821e61ce7237aa (diff) |
fixed logging
Diffstat (limited to 'kvmd/plugins')
-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 |