Remove log error for .well-known/matrix/client (#4972)
parent
6b2b9a58c4
commit
788163e204
|
@ -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