lib/almodovar/http_client.rb in almodovar-1.5.0 vs lib/almodovar/http_client.rb in almodovar-1.5.1
- old
+ new
@@ -79,9 +79,11 @@
raise SendTimeoutError.new(e)
rescue HTTPClient::ReceiveTimeoutError => e
raise ReceiveTimeoutError.new(e)
rescue HTTPClient::ConnectTimeoutError => e
raise ConnectTimeoutError.new(e)
+ rescue HTTPClient::TimeoutError => e
+ raise TimeoutError.new(e)
end
end
class AuthContext
attr_accessor :username, :password, :domain