diff --git a/src/bot.rs b/src/bot.rs index 4574f3f..cc0cce6 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -282,10 +282,10 @@ impl Bot { }; if let Err(error) = self.handle_command(ev, room, command).await { - event!(Level::WARN, ?error, "handling command failed"); + event!(Level::WARN, ?error, "handling command failed: {error:#}"); let _ignore = room .send( - RoomMessageEventContent::text_plain("error handling command: {error}"), + RoomMessageEventContent::text_plain(format!("error handling command: {error:#}")), None, ) .await;