lib/tickethub/request.rb in tickethub-0.3.50 vs lib/tickethub/request.rb in tickethub-0.3.51
- old
+ new
@@ -65,10 +65,10 @@
result = connection.send(method, query_path, build_headers)
end
Response.new(result)
- rescue TimeoutError, ServerError => err
+ rescue TimeoutError, ServerError, SSLError => err
raise err if (@retries -= 1) == 0
execute
rescue Redirection => error
raise error unless error.response['Location']
location = URI.parse(error.response['Location'])
\ No newline at end of file