From b5d4a1c1b0c1e5cd8e399caa01744d46a8e34ff4 Mon Sep 17 00:00:00 2001 From: strawberry Date: Wed, 10 Jul 2024 19:57:10 -0400 Subject: [PATCH] drop harmless state event not found message to debug_info Signed-off-by: strawberry --- src/api/client/state.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/client/state.rs b/src/api/client/state.rs index c63ddba5..abff9218 100644 --- a/src/api/client/state.rs +++ b/src/api/client/state.rs @@ -1,6 +1,6 @@ use std::sync::Arc; -use conduit::{error, warn}; +use conduit::{debug_info, error}; use ruma::{ api::client::{ error::ErrorKind, @@ -126,7 +126,7 @@ pub(crate) async fn get_state_events_for_key_route( .state_accessor .room_state_get(&body.room_id, &body.event_type, &body.state_key)? .ok_or_else(|| { - warn!("State event {:?} not found in room {:?}", &body.event_type, &body.room_id); + debug_info!("State event {:?} not found in room {:?}", &body.event_type, &body.room_id); Error::BadRequest(ErrorKind::NotFound, "State event not found.") })?; if body