lib/httpx/adapters/faraday.rb in httpx-0.22.0 vs lib/httpx/adapters/faraday.rb in httpx-0.22.1

- old
+ new

@@ -240,10 +240,11 @@ Errno::ECONNREFUSED, Errno::ECONNRESET, Errno::EHOSTUNREACH, Errno::EINVAL, Errno::ENETUNREACH, - Errno::EPIPE => e + Errno::EPIPE, + ::HTTPX::ConnectionError => e raise CONNECTION_FAILED_ERROR, e end private