summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-07-17 11:19:13 +0100
committerJorik Schellekens <joriks@matrix.org>2019-07-23 16:06:33 +0100
commit6944c994a5d2de5ac4f6b3c5c3efb57103433bbf (patch)
tree13e346b434e9e5338afb9d851873a9e5df0550b9
parentnewsfile (diff)
downloadsynapse-6944c994a5d2de5ac4f6b3c5c3efb57103433bbf.tar.xz
Make sure there is an active span here.
-rw-r--r--synapse/api/auth.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 39882bc30a..c75052e629 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -179,6 +179,7 @@ class Auth(object):
     def get_public_keys(self, invite_event):
         return event_auth.get_public_keys(invite_event)
 
+    @opentracing.trace_deferred
     @defer.inlineCallbacks
     def get_user_by_req(
         self, request, allow_guest=False, rights="access", allow_expired=False