Skip to content

Commit

Permalink
Update net_http.rb (#594)
Browse files Browse the repository at this point in the history
Add recognition of uncaught `Errno::EPIPE: Broken pipe` error to `NET_HTTP_EXCEPTIONS`
  • Loading branch information
prokizzle authored and iMacTia committed Oct 27, 2016
1 parent fb6ef20 commit bfc1563
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/faraday/adapter/net_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class NetHttp < Faraday::Adapter
Errno::EHOSTUNREACH,
Errno::EINVAL,
Errno::ENETUNREACH,
Errno::EPIPE,
Net::HTTPBadResponse,
Net::HTTPHeaderSyntaxError,
Net::ProtocolError,
Expand Down

0 comments on commit bfc1563

Please sign in to comment.