bin/check-jenkins.rb in sensu-plugins-jenkins-0.0.5 vs bin/check-jenkins.rb in sensu-plugins-jenkins-0.1.0
- old
+ new
@@ -68,7 +68,9 @@
end
rescue Errno::ECONNREFUSED
critical 'Jenkins Service is not responding'
rescue RestClient::RequestTimeout
critical 'Jenkins Service Connection timed out'
+ rescue
+ critical "Couldn't get: '#{testurl}' is the server option set correctly and the Jenkins metrics plugin installed?"
end
end