From 38e2e432c136c0ab84d7699944012556980e52e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 11 Feb 2025 15:15:26 +0100 Subject: [PATCH] fix(ui): Demote aggregation target not found log to TRACE level MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We encountered this warning a lot in the logs after upgrading the SDK today. My understanding is that this path is expected if the event is not yet in the timeline, so it's nothing to warn about. Signed-off-by: Kévin Commaille --- crates/matrix-sdk-ui/src/timeline/controller/aggregations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk-ui/src/timeline/controller/aggregations.rs b/crates/matrix-sdk-ui/src/timeline/controller/aggregations.rs index db93966518a..99d96c1b52a 100644 --- a/crates/matrix-sdk-ui/src/timeline/controller/aggregations.rs +++ b/crates/matrix-sdk-ui/src/timeline/controller/aggregations.rs @@ -399,7 +399,7 @@ pub(crate) fn find_item_and_apply_aggregation( aggregation: Aggregation, ) -> bool { let Some((idx, event_item)) = rfind_event_by_item_id(items, target) else { - warn!("couldn't find aggregation's target {target:?}"); + trace!("couldn't find aggregation's target {target:?}"); return false; };