log room for backfill_if_required requests
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
d7fc6874d1
commit
7c9c5b1d78
1 changed files with 3 additions and 3 deletions
|
@ -1000,18 +1000,18 @@ impl Service {
|
||||||
let pub_key_map = RwLock::new(BTreeMap::new());
|
let pub_key_map = RwLock::new(BTreeMap::new());
|
||||||
for pdu in response.pdus {
|
for pdu in response.pdus {
|
||||||
if let Err(e) = self.backfill_pdu(backfill_server, pdu, &pub_key_map).await {
|
if let Err(e) = self.backfill_pdu(backfill_server, pdu, &pub_key_map).await {
|
||||||
warn!("Failed to add backfilled pdu: {e}");
|
warn!("Failed to add backfilled pdu in room {room_id}: {e}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Ok(());
|
return Ok(());
|
||||||
},
|
},
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
warn!("{backfill_server} failed to provide backfill: {e}");
|
warn!("{backfill_server} failed to provide backfill for room {room_id}: {e}");
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
info!("No servers could backfill, but backfill was needed");
|
info!("No servers could backfill, but backfill was needed in room {room_id}");
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue