From b309441dec5c590590306be9cd815cd22ee9d71c Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 17 Oct 2022 18:35:55 +0200 Subject: [PATCH] fix(sdk): Don't log the access token in HttpClient::send --- crates/matrix-sdk/src/http_client.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/matrix-sdk/src/http_client.rs b/crates/matrix-sdk/src/http_client.rs index a4cd45a47..fd0ce54fb 100644 --- a/crates/matrix-sdk/src/http_client.rs +++ b/crates/matrix-sdk/src/http_client.rs @@ -105,7 +105,10 @@ impl HttpClient { HttpClient { inner, request_config } } - #[tracing::instrument(skip(self, request), fields(request_type = type_name::()))] + #[tracing::instrument( + skip(self, request, access_token), + fields(request_type = type_name::()), + )] pub async fn send( &self, request: Request,