Skip to content

Commit 38e2e43

Browse files
committed
fix(ui): Demote aggregation target not found log to TRACE level
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 <[email protected]>
1 parent 69588d5 commit 38e2e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: crates/matrix-sdk-ui/src/timeline/controller/aggregations.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ pub(crate) fn find_item_and_apply_aggregation(
399399
aggregation: Aggregation,
400400
) -> bool {
401401
let Some((idx, event_item)) = rfind_event_by_item_id(items, target) else {
402-
warn!("couldn't find aggregation's target {target:?}");
402+
trace!("couldn't find aggregation's target {target:?}");
403403
return false;
404404
};
405405

0 commit comments

Comments
 (0)