diff --git a/src/pipeline.rs b/src/pipeline.rs index 18f9f261..f7282552 100644 --- a/src/pipeline.rs +++ b/src/pipeline.rs @@ -460,7 +460,11 @@ impl ProcessResponse { }; if let Some(err) = self.resp.error() { - warn!("Error occured during request handling: {}", err); + if self.resp.status().is_server_error() { + error!("Error occured during request handling: {}", err); + } else { + warn!("Error occured during request handling: {}", err); + } if log_enabled!(Debug) { debug!("{:?}", err); }