diff options
author | Erik Johnston <erik@matrix.org> | 2014-12-13 18:03:01 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-12-13 18:03:01 +0000 |
commit | 6380ead2ee9f88be86941da4c1dcac3d2aa29eea (patch) | |
tree | c294600b768546f7d11d62a403e562de15d1ea12 /synapse/config | |
parent | Merge branch 'release-v0.5.4' of github.com:matrix-org/synapse (diff) | |
download | synapse-6380ead2ee9f88be86941da4c1dcac3d2aa29eea.tar.xz |
Fix bug while generating the error message when a file path specified in the config doesn't exist
Diffstat (limited to '')
-rw-r--r-- | synapse/config/_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/_base.py b/synapse/config/_base.py index 6870af10e8..846570811f 100644 --- a/synapse/config/_base.py +++ b/synapse/config/_base.py @@ -44,9 +44,9 @@ class Config(object): ) if not os.path.exists(file_path): raise ConfigError( - "File % config for %s doesn't exist." + "File %s config for %s doesn't exist." " Try running again with --generate-config" - % (config_name,) + % (file_path, config_name,) ) return cls.abspath(file_path) |