summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-07-16 11:20:20 +0100
committerJorik Schellekens <joriks@matrix.org>2019-07-23 16:05:58 +0100
commite49487fc919367b6c831b1bcf33546f3b36220fd (patch)
tree4cbaf08d7b22e3a5ee466506b124dfd7efef4534
parentA little extra device_list tracing (diff)
downloadsynapse-e49487fc919367b6c831b1bcf33546f3b36220fd.tar.xz
Better args wrapper
-rw-r--r--synapse/handlers/e2e_keys.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/e2e_keys.py b/synapse/handlers/e2e_keys.py
index 08882ba3a9..f0077f32d4 100644
--- a/synapse/handlers/e2e_keys.py
+++ b/synapse/handlers/e2e_keys.py
@@ -296,9 +296,8 @@ class E2eKeysHandler(object):
         return {"one_time_keys": json_result, "failures": failures}
 
     @defer.inlineCallbacks
+    @opentracing.tag_args
     def upload_keys_for_user(self, user_id, device_id, keys):
-        opentracing.set_tag("user_id", user_id)
-        opentracing.set_tag("device_id", device_id)
 
         time_now = self.clock.time_msec()