summaryrefslogtreecommitdiff
path: root/kvmd/validators
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/validators
parentd5dca5a8b4eadd988505a6d84e2807cbea6c6d11 (diff)
refactoring
Diffstat (limited to 'kvmd/validators')
-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