mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Better manifest syntax issue handling
This commit is contained in:
parent
f6b9acc401
commit
0c9f532e36
1 changed files with 2 additions and 1 deletions
|
@ -671,7 +671,8 @@ class Manifest(TestSuite):
|
|||
try:
|
||||
self.manifest = json.loads(raw_manifest, object_pairs_hook=check_for_duplicate_keys)
|
||||
except Exception as e:
|
||||
raise Exception("Looks like there's a syntax issue in your json ? %s" % e)
|
||||
print(c.FAIL + "✘ Looks like there's a syntax issue in your manifest ?\n ---> %s" % e)
|
||||
sys.exit(1)
|
||||
|
||||
self.catalog_infos = app_list().get(self.manifest.get("id"), {})
|
||||
|
||||
|
|
Loading…
Reference in a new issue