Log on config validation
This commit is contained in:
parent
a9038e9315
commit
9b8d861042
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,7 @@ def validate_toc(config):
|
|||
|
||||
|
||||
def validate_config(config):
|
||||
logger.debug("Validating Config...")
|
||||
for validator in [
|
||||
check_required_keys,
|
||||
test_input,
|
||||
|
@ -86,3 +87,4 @@ def validate_config(config):
|
|||
validate_toc
|
||||
]:
|
||||
validator(config)
|
||||
logger.debug("Config Ok!")
|
||||
|
|
Reference in a new issue