diff --git a/src/shutdown.rs b/src/shutdown.rs index 2f44b804..61190a1a 100755 --- a/src/shutdown.rs +++ b/src/shutdown.rs @@ -8,7 +8,11 @@ pub async fn shutdown_task(mut tasks: JoinSet>, shutdown_done: broadc match task { Ok(Ok(())) => (), Ok(Err(error)) => { - log::error!("Task failed: {}\n{}", error, error.backtrace().to_string()); + log::error!( + "Task failed: {:?}\n{}", + error, + error.backtrace().to_string() + ); tasks.shutdown().await; } Err(error) => {