summaryrefslogtreecommitdiff
path: root/kvmd/apps/vnc/vncauth.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/apps/vnc/vncauth.py')
-rw-r--r--kvmd/apps/vnc/vncauth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/apps/vnc/vncauth.py b/kvmd/apps/vnc/vncauth.py
index ebda9ef4..46c1a77d 100644
--- a/kvmd/apps/vnc/vncauth.py
+++ b/kvmd/apps/vnc/vncauth.py
@@ -54,8 +54,8 @@ class VncAuthManager:
if self.__enabled:
try:
return (await self.__inner_read_credentials(), True)
- except VncAuthError as err:
- get_logger(0).error(str(err))
+ except VncAuthError as ex:
+ get_logger(0).error(str(ex))
except Exception:
get_logger(0).exception("Unhandled exception while reading VNCAuth passwd file")
return ({}, (not self.__enabled))