mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
refactoring
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user