summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-07-24 09:55:47 +0100
committerGitHub <noreply@github.com>2020-07-24 09:55:47 +0100
commit1ec688bf21cd1368a2bb86c2de977daf148eecc3 (patch)
tree2bb4712ff2dc49fada67789ea1eedcf422892d8a /synapse/http
parentConvert presence handler helpers to async/await. (#7939) (diff)
downloadsynapse-1ec688bf21cd1368a2bb86c2de977daf148eecc3.tar.xz
Downgrade warning on client disconnect to INFO (#7928)
Clients disconnecting before we finish processing the request happens from time
to time. We don't need to yell about it
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/site.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/http/site.py b/synapse/http/site.py
index cbc37eac6e..6f3b2258cc 100644
--- a/synapse/http/site.py
+++ b/synapse/http/site.py
@@ -215,9 +215,7 @@ class SynapseRequest(Request):
         # It's useful to log it here so that we can get an idea of when
         # the client disconnects.
         with PreserveLoggingContext(self.logcontext):
-            logger.warning(
-                "Error processing request %r: %s %s", self, reason.type, reason.value
-            )
+            logger.info("Connection from client lost before response was sent")
 
             if not self._is_processing:
                 self._finished_processing()