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.
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user