mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Bugfix: raise ConfigParseError (#2463)
instead of returning error string
This commit is contained in:
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user