mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 11:31:09 +00:00
Log internal server errors (#2387)
This commit is contained in:
parent
5e554dca35
commit
c020cedb63
1 changed files with 1 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue