1
0
Fork 0
mirror of synced 2024-06-01 15:01:10 -04:00
This commit is contained in:
Joshua Blum 2015-04-24 09:52:25 +00:00
commit 0b9d517165

View file

@ -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