drop harmless state event not found message to debug_info
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
aa9540af21
commit
b5d4a1c1b0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue