diff --git a/dotbot/config.py b/dotbot/config.py index 49252d8..6708c3b 100644 --- a/dotbot/config.py +++ b/dotbot/config.py @@ -9,8 +9,8 @@ class ConfigReader(object): with open(config_file_path) as fin: data = yaml.load(fin) return data - except Exception: - raise ReadingError('Could not read config file') + except Exception as e: + raise ReadingError('Could not read config file:\n%s' % e) def get_config(self): return self._config