Add config for setting the perspective servers

This commit is contained in:
Mark Haines 2015-04-24 17:01:34 +01:00
parent c253b14f6e
commit 288702170d
3 changed files with 27 additions and 5 deletions

View file

@ -83,9 +83,9 @@ class Config(object):
with open(file_path) as file_stream:
try:
return yaml.load(file_stream)
except Exception as e:
except:
raise ConfigError(
"Error parsing yaml in file %r: " % (file_path,), e
"Error parsing yaml in file %r" % (file_path,)
)
@staticmethod