From 6ef549e29a59fda1c7d5aea1bc797648eddefbf0 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Mon, 9 Feb 2026 13:34:45 +0100 Subject: [PATCH] chore(sdk): Downgrade a log from `error` to `info`. This patch changes an `error!` log to a `info!`. Indeed, this is not an error to compute a Latest Event that doesn't exist yet. The system is lazy purposely. --- crates/matrix-sdk/src/latest_events/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/matrix-sdk/src/latest_events/mod.rs b/crates/matrix-sdk/src/latest_events/mod.rs index 7a98d616a..b1238b192 100644 --- a/crates/matrix-sdk/src/latest_events/mod.rs +++ b/crates/matrix-sdk/src/latest_events/mod.rs @@ -68,7 +68,7 @@ use tokio::{ select, sync::{RwLock, RwLockReadGuard, RwLockWriteGuard, broadcast, mpsc}, }; -use tracing::{error, warn}; +use tracing::{info, warn}; use crate::{ client::WeakClient, @@ -603,7 +603,7 @@ async fn compute_latest_events( ControlFlow::Break(room_latest_events) } else { - error!(?room_id, "Failed to find the room"); + info!(?room_id, "Failed to find the room"); ControlFlow::Continue(()) }