mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Remove log error for .well-known/matrix/client (#4972)
This commit is contained in:
parent
6b2b9a58c4
commit
788163e204
2 changed files with 2 additions and 1 deletions
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")
|
||||
return b'.well-known not available'
|
||||
|
||||
logger.error("returning: %s", r)
|
||||
logger.debug("returning: %s", r)
|
||||
request.setHeader(b"Content-Type", b"application/json")
|
||||
return json.dumps(r).encode("utf-8")
|
||||
|
|
Loading…
Reference in a new issue