summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsynapse/app/homeserver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 4e74f4d14c..17926be88c 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -252,11 +252,11 @@ def setup():
         reactor.run()
 
 def run():
-    with LoggingContext("run") as context:
+    with LoggingContext("run"):
         reactor.run()
 
 def main():
-    with LoggingContext("main") as context:
+    with LoggingContext("main"):
         setup()
 
 if __name__ == '__main__':