switch all error logs to using *_err macros

This commit is contained in:
Olivia Lee 2024-12-14 01:42:59 -08:00
parent d28135f7ca
commit a3448b5c84
No known key found for this signature in database
GPG key ID: 54D568A15B9CD1F9
29 changed files with 145 additions and 153 deletions

View file

@ -1068,9 +1068,9 @@ impl Service {
if leave_rooms {
for &user_id in &user_ids {
if let Err(error) = leave_all_rooms(user_id).await {
t::warn!(
warn_err!(
error,
%user_id,
%error,
"failed to leave one or more rooms"
);
}