1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Avoid NoMethodError on SSLCertificateNotVerified.

This commit is contained in:
Andy Brody 2014-04-02 01:49:56 -07:00
parent b59e2e5b3c
commit a95da365bb

View file

@ -50,7 +50,7 @@ if @verb
end
exit 0
rescue RestClient::Exception => e
puts e.response.body if e.respond_to? :response
puts e.response.body if e.respond_to?(:response) && e.response
raise
end
end