From 24e67746f926c1f33448da6ae56e8a27a82eb798 Mon Sep 17 00:00:00 2001 From: Dunedan Date: Sun, 25 Aug 2024 17:08:03 +0200 Subject: [PATCH] Log a warning when a specified mod can't be found --- source/tools/entity/checkrefs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source/tools/entity/checkrefs.py b/source/tools/entity/checkrefs.py index 61c2734a6a..d320b4464b 100755 --- a/source/tools/entity/checkrefs.py +++ b/source/tools/entity/checkrefs.py @@ -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: