diff --git a/src/lib.rs b/src/lib.rs index 207cec0..d7d6c1b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -190,7 +190,7 @@ impl LogMiddleware { let status = res.status(); match res.error() { Some(e) => { - error!("Response with internal error: {e}"); + error!(status = %status, "Response with internal error: {e:?}"); } None => { debug!(status = %status, "Response");