mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-31 21:08:39 -04:00
Add config for setting the perspective servers
This commit is contained in:
parent
c253b14f6e
commit
288702170d
3 changed files with 27 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue