mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Remove log error for .well-known/matrix/client (#4972)
This commit is contained in:
parent
6b2b9a58c4
commit
788163e204
1
changelog.d/4972.misc
Normal file
1
changelog.d/4972.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Reduce log level of .well-known/matrix/client responses.
|
@ -68,6 +68,6 @@ class WellKnownResource(Resource):
|
|||||||
request.setHeader(b"Content-Type", b"text/plain")
|
request.setHeader(b"Content-Type", b"text/plain")
|
||||||
return b'.well-known not available'
|
return b'.well-known not available'
|
||||||
|
|
||||||
logger.error("returning: %s", r)
|
logger.debug("returning: %s", r)
|
||||||
request.setHeader(b"Content-Type", b"application/json")
|
request.setHeader(b"Content-Type", b"application/json")
|
||||||
return json.dumps(r).encode("utf-8")
|
return json.dumps(r).encode("utf-8")
|
||||||
|
Loading…
Reference in New Issue
Block a user