Bugfix: raise ConfigParseError (#2463)

instead of returning error string
This commit is contained in:
Alexander Kukushkin
2022-11-28 11:44:06 +01:00
committed by GitHub
parent 53f89faaab
commit 412d508023
+1 -1
View File
@@ -32,7 +32,7 @@ _AUTH_ALLOWED_PARAMETERS = (
def default_validator(conf):
if not conf:
return "Config is empty."
raise ConfigParseError("Config is empty.")
class Config(object):