We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e9b75 commit 6c51f86Copy full SHA for 6c51f86
changelog.d/17830.misc
@@ -0,0 +1 @@
1
+Include the destination in the error of 'Destination mismatch' on federation requests.
synapse/federation/transport/server/_base.py
@@ -113,7 +113,7 @@ async def authenticate_request(
113
):
114
raise AuthenticationError(
115
HTTPStatus.UNAUTHORIZED,
116
- "Destination mismatch in auth header",
+ f"Destination mismatch in auth header, received: {destination!r}",
117
Codes.UNAUTHORIZED,
118
)
119
if (
0 commit comments