From bceed3c829ef4a120597fa2f4f309485e4cb0dcc Mon Sep 17 00:00:00 2001 From: strawberry Date: Fri, 30 Aug 2024 15:01:54 -0400 Subject: [PATCH] dont debug print startup admin command content body Signed-off-by: strawberry --- src/service/admin/startup.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/service/admin/startup.rs b/src/service/admin/startup.rs index b7bc8d44..9c02c902 100644 --- a/src/service/admin/startup.rs +++ b/src/service/admin/startup.rs @@ -92,12 +92,12 @@ fn startup_command_error(i: usize, content: &RoomMessageEventContent) -> Result< #[cfg(not(feature = "console"))] #[implement(super::Service)] fn startup_command_output(i: usize, content: &RoomMessageEventContent) -> Result<()> { - info!("Startup command #{i} completed:\n{:#?}", content.body()); + info!("Startup command #{i} completed:\n{:#}", content.body()); Ok(()) } #[cfg(not(feature = "console"))] #[implement(super::Service)] fn startup_command_error(i: usize, content: &RoomMessageEventContent) -> Result<()> { - Err!(error!("Startup command #{i} failed:\n{:#?}", content.body())) + Err!(error!("Startup command #{i} failed:\n{:#}", content.body())) }