lib/travis/client/session.rb in travis-1.8.7.travis.809.4 vs lib/travis/client/session.rb in travis-1.8.7.travis.812.4
- old
+ new
@@ -329,11 +329,11 @@
cache[last] ||= yield
end
def check_ssl
raw(:head, '/') if ssl == SSL_OPTIONS
- rescue SSLError => error
- self.ssl = {}
+ rescue Exception => error
+ self.ssl = {} if error.class == Travis::Client::SSLError
end
end
end
end