summaryrefslogtreecommitdiff
path: root/kvmd/validators/net.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/validators/net.py')
-rw-r--r--kvmd/validators/net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/validators/net.py b/kvmd/validators/net.py
index 7862c391..3c172e7b 100644
--- a/kvmd/validators/net.py
+++ b/kvmd/validators/net.py
@@ -85,5 +85,5 @@ def valid_ssl_ciphers(arg: Any) -> str:
try:
ssl.SSLContext().set_ciphers(arg)
except Exception as err:
- raise ValidatorError(f"The argument {arg!r} is not a valid {name}: {str(err)}")
+ raise ValidatorError(f"The argument {arg!r} is not a valid {name}: {err}")
return arg