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/validators | |
parent | d5dca5a8b4eadd988505a6d84e2807cbea6c6d11 (diff) |
refactoring
Diffstat (limited to 'kvmd/validators')
-rw-r--r-- | kvmd/validators/net.py | 2 |
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 |