diff --git a/src/client/pipeline.rs b/src/client/pipeline.rs index 50318a16f..4173c7d2c 100644 --- a/src/client/pipeline.rs +++ b/src/client/pipeline.rs @@ -392,7 +392,7 @@ impl Pipeline { match self.timeout.as_mut().unwrap().poll() { Ok(Async::Ready(())) => return Err(SendRequestError::Timeout), Ok(Async::NotReady) => (), - Err(e) => return Err(e.into()), + Err(e) => return Err(io::Error::new(io::ErrorKind::Other, e).into()), } } Ok(())