Improve internal error logging #4

Merged
michael merged 1 commits from log-errors into master 2022-05-02 13:29:16 -04:00
1 changed files with 1 additions and 1 deletions

View File

@ -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");