diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-01-13 13:27:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-13 13:27:49 -0500 |
commit | aee8e6a95d26391a8449409c836fa3965cdc6c51 (patch) | |
tree | dd55eda175481622a93f168946e088e8da5e1f6e | |
parent | Register the /devices endpoint on workers. (#9092) (diff) | |
download | synapse-aee8e6a95d26391a8449409c836fa3965cdc6c51.tar.xz |
Reduce scope of exception handler. (#9106)
Removes a bare `except Exception` clause and replaces it with catching a specific exception around the portion that might throw.
-rw-r--r-- | changelog.d/9106.misc | 1 | ||||
-rw-r--r-- | synapse/http/client.py | 10 |
2 files changed, 6 insertions, 5 deletions
diff --git a/changelog.d/9106.misc b/changelog.d/9106.misc new file mode 100644 |