diff --git a/kedro/config/omegaconf_config.py b/kedro/config/omegaconf_config.py index ca1dbc2173..3191b13750 100644 --- a/kedro/config/omegaconf_config.py +++ b/kedro/config/omegaconf_config.py @@ -195,7 +195,7 @@ def __getitem__(self, key) -> Dict[str, Any]: if not config: raise MissingConfigException( f"No files of YAML or JSON format found in {base_path} or {env_path} matching" - f" the glob pattern(s): {[*self.config_patterns[key]]}" + f" the glob pattern(s): {[*self.config_patterns[key]]}, or the files are empty." ) return config