This commit is contained in:
adator
2024-09-18 20:21:44 +02:00
parent 0f31e67be6
commit c59dd16e87
3 changed files with 5 additions and 12 deletions

View File

@@ -184,6 +184,9 @@ class Config:
print(f'FileNotFound: {fe}')
print('Configuration file not found please create core/configuration.json')
sys.exit(0)
except KeyError as ke:
print(f'Key Error: {ke}')
print('The key must be defined in core/configuration.json')
def __load_service_configuration(self) -> ConfigDataModel:
import_config = self.__load_json_service_configuration()