Exclude Store from tracing

Debug output for the `Store` is extremely verbose, so we don't want to log it
every time we touch this function.
This commit is contained in:
Richard van der Hoff
2023-10-23 18:31:18 +01:00
committed by Damir Jelić
parent 0107bcfd0d
commit 7d2d1a53bf
2 changed files with 4 additions and 1 deletions

View File

@@ -70,3 +70,6 @@
- Remove spurious "Unknown outgoing secret request" warning which was logged
for every outgoing secret request.
- Stop logging large quantities of data about the `Store` during olm
decryption.

View File

@@ -1164,7 +1164,7 @@ impl Account {
}
/// Decrypt an Olm message, creating a new Olm session if possible.
#[instrument(skip(self, message))]
#[instrument(skip(self, store, message))]
async fn decrypt_olm_message(
&mut self,
store: &Store,