diff options
Diffstat (limited to 'kvmd/apps/vnc/rfb')
-rw-r--r-- | kvmd/apps/vnc/rfb/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/vnc/rfb/__init__.py b/kvmd/apps/vnc/rfb/__init__.py index 279c18bf..b5d690b3 100644 --- a/kvmd/apps/vnc/rfb/__init__.py +++ b/kvmd/apps/vnc/rfb/__init__.py @@ -106,9 +106,9 @@ class RfbClient(RfbClientStream): # pylint: disable=too-many-instance-attribute logger.info("[%s] Client %s: Cancelling subtask ...", name, self._remote) raise except RfbConnectionError as err: - logger.info("[%s] Client %s: Gone: %s", name, self._remote, str(err)) + logger.info("[%s] Client %s: Gone: %s", name, self._remote, err) except (RfbError, ssl.SSLError) as err: - logger.error("[%s] Client %s: Error: %s", name, self._remote, str(err)) + logger.error("[%s] Client %s: Error: %s", name, self._remote, err) except Exception: logger.exception("[%s] Unhandled exception with client %s", name, self._remote) |