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

parent b112db0d
...@@ -296,8 +296,8 @@ class ManifestParser(ConfigParser): ...@@ -296,8 +296,8 @@ class ManifestParser(ConfigParser):
return None return None
manifest = _search_for_manifest(path) manifest = _search_for_manifest(path)
if manifest is None: if manifest is None:
logging.warning("No manifest found in path: %s", path) logging.error("No manifest found in path: %s", path)
return None quit()
else: else:
logging.debug("Parse manifest in: %s", manifest) logging.debug("Parse manifest in: %s", manifest)
return self.add_config_file(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