summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2017-10-17 14:46:17 +0100
committerGitHub <noreply@github.com>2017-10-17 14:46:17 +0100
commit7216c76654bbb57bc0ebc27498de7eda247f8ffb (patch)
treed8eab4dc12de21a062b67c9bbd5fa54fc6de223c /synapse/federation
parentMerge pull request #2546 from matrix-org/rav/remove_dead_event_injector (diff)
downloadsynapse-7216c76654bbb57bc0ebc27498de7eda247f8ffb.tar.xz
Improve error handling for missing files (#2551)
`os.path.exists` doesn't allow us to distinguish between permissions errors and
the path actually not existing, which repeatedly confuses people. It also means
that we try to overwrite existing key files, which is super-confusing. (cf
issues #2455, #2379). Use os.stat instead.

Also, don't recomemnd the the use of --generate-config, which screws everything
up if you're using debian (cf #2455).

Diffstat (limited to 'synapse/federation')
0 files changed, 0 insertions, 0 deletions