From 5828a0363f78ff550ae8533cd5485c981db22fee Mon Sep 17 00:00:00 2001 From: mike Date: Sun, 9 Jun 2024 09:54:10 -0700 Subject: [PATCH] guidance --- domain/config/ConfigFile.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/domain/config/ConfigFile.py b/domain/config/ConfigFile.py index 9618c39..8abdf8f 100644 --- a/domain/config/ConfigFile.py +++ b/domain/config/ConfigFile.py @@ -192,9 +192,13 @@ class ConfigFile: ) self.__date_detection = date_detection else: - self.warning( + self.error( f"Option date-detection not found; Will use default: {self.__date_detection}" ) + raise AssertionError( + f"Option date-detection is required." + ) + else: self.error(f"No options key found!") raise AssertionError(f"No options key found!")