mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-19 08:41:24 +01:00
switch all error logs to using *_err macros
This commit is contained in:
parent
d28135f7ca
commit
a3448b5c84
29 changed files with 145 additions and 153 deletions
|
|
@ -371,8 +371,8 @@ fn room_id_to_chunk(room_id: ruma::OwnedRoomId) -> Result<PublicRoomsChunk> {
|
|||
_ => None,
|
||||
})
|
||||
.map_err(|error| {
|
||||
t::error!(
|
||||
%error,
|
||||
error_err!(
|
||||
error,
|
||||
"Invalid room join rule event in database"
|
||||
);
|
||||
Error::BadDatabase(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue