Skip to content

Commit

Permalink
ci troubleshoot: additional logs
Browse files Browse the repository at this point in the history
  • Loading branch information
huylenq committed Jan 26, 2021
1 parent f1831f8 commit 5d8d628
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spec/td/client/api_ssl_connection_spec.rb
Expand Up @@ -41,7 +41,12 @@ def to_text
puts ">>> httpclient version: #{Gem.loaded_specs["httpclient"].version}"
puts ">>> is SSLContext defined?: #{OpenSSL::SSL.const_defined?("SSLContext")}"
expect {
api.delete_database('no_such_database')
begin
api.delete_database('no_such_database')
rescue OpenSSL::SSL::SSLError => e
puts ">>> Raised #{e}"
raise
end
}.to raise_error OpenSSL::SSL::SSLError
end

Expand Down

0 comments on commit 5d8d628

Please sign in to comment.