log internal server errors

This commit is contained in:
Ibraheem Ahmed 2021-09-13 17:25:20 -04:00
parent a3806cde19
commit 1dfa5b953d
1 changed files with 1 additions and 3 deletions

View File

@ -275,9 +275,7 @@ where
}; };
if let Some(error) = res.response().error() { if let Some(error) = res.response().error() {
if res.response().head().status != StatusCode::INTERNAL_SERVER_ERROR { debug!("Error in response: {:?}", error);
debug!("Error in response: {:?}", error);
}
} }
if let Some(ref mut format) = this.format { if let Some(ref mut format) = this.format {