diff options
author | Devaev Maxim <[email protected]> | 2020-05-25 01:52:37 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-05-25 01:52:37 +0300 |
commit | e6f8396661b3c12e0cc72941f9b8e635989469fa (patch) | |
tree | 0ef5df151a8404b63bf41ac0ac48f369c4ba53eb /kvmd/apps/vnc/rfb | |
parent | d5dca5a8b4eadd988505a6d84e2807cbea6c6d11 (diff) |
refactoring
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) |