We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4a9ca5 commit 4317dc3Copy full SHA for 4317dc3
1 file changed
lib/http.rb
@@ -28,7 +28,8 @@ def http_request(method, url, headers, payload = nil, max_retries = 5, verify_ss
28
log_exception(e)
29
rescue RestClient::InternalServerError, RestClient::ServerBrokeConnection,
30
RestClient::ExceptionWithResponse, RestClient::Exception,
31
- RestClient::RequestTimeout, Errno::ECONNREFUSED => e
+ RestClient::RequestTimeout, RestClient::Exceptions::OpenTimeout,
32
+ Errno::ECONNREFUSED => e
33
handle_retry(e, retries, max_retries)
34
end
35
0 commit comments