Improve internal error logging #4
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue