1
0
forked from 0ad/0ad

Log a warning when a specified mod can't be found

This commit is contained in:
Dunedan 2024-08-25 17:08:03 +02:00
parent 92d92fac1b
commit 24e67746f9
Signed by untrusted user: Dunedan
GPG Key ID: 885B16854284E0B2

View File

@ -152,6 +152,7 @@ class CheckRefs:
for mod in mods:
mod_json_path = self.vfs_root / mod / "mod.json"
if not exists(mod_json_path):
self.logger.warning('Failed to find the mod.json for "%s"', mod)
continue
with open(mod_json_path, encoding="utf-8") as f: