docs(debug): Config without valid section is now an error
This commit is contained in:
@@ -266,7 +266,7 @@ if __name__ == '__main__':
|
|||||||
if config_has_valid_section(config):
|
if config_has_valid_section(config):
|
||||||
validate_config_sections(config)
|
validate_config_sections(config)
|
||||||
else:
|
else:
|
||||||
log.debug(f"No valid config section found. A valid config section has at least the mandatory options "
|
log.error(f"No valid config section found. A valid config section has at least the mandatory options "
|
||||||
f"{CONST.CFG_MANDATORY} set. Exiting 2 ...")
|
f"{CONST.CFG_MANDATORY} set. Exiting 2 ...")
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user