Avoid NoMethodError on SSLCertificateNotVerified.

This commit is contained in:
Andy Brody 2014-04-02 01:49:56 -07:00
parent b59e2e5b3c
commit a95da365bb
1 changed files with 1 additions and 1 deletions

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