diff options
Diffstat (limited to 'kvmd')
-rw-r--r-- | kvmd/plugins/hid/serial.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kvmd/plugins/hid/serial.py b/kvmd/plugins/hid/serial.py index 0eaacfb7..17378e6a 100644 --- a/kvmd/plugins/hid/serial.py +++ b/kvmd/plugins/hid/serial.py @@ -348,12 +348,14 @@ class Plugin(BaseHid, multiprocessing.Process): # pylint: disable=too-many-inst self.clear_events() except serial.SerialException as err: + self.clear_events() if err.errno == errno.ENOENT: logger.error("Missing HID serial device: %s", self.__device_path) else: logger.exception("Unexpected HID error") except Exception: + self.clear_events() logger.exception("Unexpected HID error") finally: |