summaryrefslogtreecommitdiff
path: root/kvmd/apps/vnc/rfb
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-05-25 01:52:37 +0300
committerDevaev Maxim <[email protected]>2020-05-25 01:52:37 +0300
commite6f8396661b3c12e0cc72941f9b8e635989469fa (patch)
tree0ef5df151a8404b63bf41ac0ac48f369c4ba53eb /kvmd/apps/vnc/rfb
parentd5dca5a8b4eadd988505a6d84e2807cbea6c6d11 (diff)
refactoring
Diffstat (limited to 'kvmd/apps/vnc/rfb')
-rw-r--r--kvmd/apps/vnc/rfb/__init__.py4
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)