From 97cdd7be79fe9c21c1181f41799be29a822712db Mon Sep 17 00:00:00 2001 From: ctih1 Date: Sat, 26 Jul 2025 00:12:43 +0300 Subject: [PATCH] added warning for missing settings --- modules/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/settings.py b/modules/settings.py index dfffd78..af34e38 100644 --- a/modules/settings.py +++ b/modules/settings.py @@ -60,6 +60,9 @@ class Settings: self.path: str = os.path.join(".", "settings", "settings.json") if not os.path.exists(self.path): + logger.critical( + f"Missing settings file from {self.path}! Did you forget to copy settings.example.json?" + ) raise ValueError("settings.json file does not exist!") self.settings: SettingsType