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-17 14:37:25 +0100
commit51e5a12c3a6a8efb6c7820a220ca82aeebc32977 (patch)
treeea43fe7a71a133afb727ccd9eced16eb8f84a0ac
parentnewsfile (diff)
downloadsynapse-51e5a12c3a6a8efb6c7820a220ca82aeebc32977.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 961bc3da8e..605a8dbd1e 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