lib/travis/cli/command.rb in travis-1.8.14.travis.1160.9 vs lib/travis/cli/command.rb in travis-1.8.14.travis.1162.9

- old
+ new

@@ -161,9 +161,11 @@ unless Tools::System.recent_version? Travis::VERSION, last_check['version'] warn "Outdated CLI version, run `gem install travis`." end rescue Timeout::Error, Faraday::Error::ClientError => error debug "#{error.class}: #{error.message}" + rescue JSON::ParseError => error + warn "Unable to determine the most recent travis gem version. http://rubygems.org may be down." end def check_completion return if skip_completion_check? or !interactive?