summary refs log tree commit diff
path: root/synapse/push/__init__.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-12-04 10:51:56 -0500
committerGitHub <noreply@github.com>2020-12-04 10:51:56 -0500
commitb774c555d821170e4f16de7d48f01484c3a1d740 (patch)
tree5e111a35806ba3403c372cb65d8b737a93d06011 /synapse/push/__init__.py
parentDo not 500 if the content-length is not provided when uploading media. (#8862) (diff)
downloadsynapse-b774c555d821170e4f16de7d48f01484c3a1d740.tar.xz
Add additional validation to pusher URLs. (#8865)
Pusher URLs now must end in `/_matrix/push/v1/notify` per the
specification.
Diffstat (limited to 'synapse/push/__init__.py')
-rw-r--r--synapse/push/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py
index 5a437f9810..e462fb2e13 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -15,5 +15,4 @@
 
 
 class PusherConfigException(Exception):
-    def __init__(self, msg):
-        super().__init__(msg)
+    """An error occurred when creating a pusher."""