Skip to content

Commit 896f411

Browse files
committed
chore(sqlite): Don't log the room ID twice when saving events
The room ID is already logged as part of the span due to the instrument attribute.
1 parent e2d42ce commit 896f411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/matrix-sdk-sqlite/src/event_cache_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ impl EventCacheStore for SqliteEventCacheStore {
13321332
let _timer = timer!("method");
13331333

13341334
let Some(event_id) = event.event_id() else {
1335-
error!(%room_id, "Trying to save an event with no ID");
1335+
error!("Trying to save an event with no ID");
13361336
return Ok(());
13371337
};
13381338

0 commit comments

Comments
 (0)