Log the room ID, event ID, PDU, and event type where possible
Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
parent
863103450c
commit
cc5dcceacc
4 changed files with 23 additions and 12 deletions
|
@ -342,7 +342,9 @@ impl Service {
|
|||
.transpose()?;
|
||||
let room_version = create_event_content
|
||||
.map(|create_event| create_event.room_version)
|
||||
.ok_or(Error::BadDatabase("Invalid room version"))?;
|
||||
.ok_or({
|
||||
warn!("Invalid room version for room {room_id}");
|
||||
Error::BadDatabase("Invalid room version")})?;
|
||||
Ok(room_version)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue