Report an error and quit when the manifest file is not found

parent b112db0d
......@@ -296,8 +296,8 @@ class ManifestParser(ConfigParser):
return None
manifest = _search_for_manifest(path)
if manifest is None:
logging.warning("No manifest found in path: %s", path)
return None
logging.error("No manifest found in path: %s", path)
quit()
else:
logging.debug("Parse manifest in: %s", manifest)
return self.add_config_file(manifest)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment