diff --git a/src/web.rs b/src/web.rs index 1899ba0..9feeabe 100644 --- a/src/web.rs +++ b/src/web.rs @@ -31,9 +31,9 @@ use tokio::sync::mpsc::UnboundedSender; type HmacSha256 = Hmac; fn error_res(e: Error) -> Result>, Infallible> { - error!("error response: {:?}", e); + error!("error response: {e}"); - let text = format!("{:?}", e); + let text = format!("{}", e); let res = Response::builder() .status(e.status()) .body(Full::new(Bytes::from(text)))