diff --git a/actix-http/src/body/message_body.rs b/actix-http/src/body/message_body.rs index 21e54a7f1..f24c29acb 100644 --- a/actix-http/src/body/message_body.rs +++ b/actix-http/src/body/message_body.rs @@ -82,7 +82,7 @@ where cx: &mut Context<'_>, ) -> Poll>> { match ready!(self.as_mut().poll_next(cx)) { - Some(Err(err)) => Poll::Ready(Some(Err(err.into()))), + Some(Err(err)) => Poll::Ready(Some(Err(err))), Some(Ok(val)) => Poll::Ready(Some(Ok(val))), None => Poll::Ready(None), }