lib/riemann/babbler/support/plugin_helpers.rb in riemann-babbler-1.0.7.9 vs lib/riemann/babbler/support/plugin_helpers.rb in riemann-babbler-1.0.8
- old
+ new
@@ -53,11 +53,12 @@
rescue Errno::ECONNREFUSED, Errno::EHOSTUNREACH
return false
end
end
rescue Timeout::Error
+ return false
end
- return false
+ false
end
# http rest
def rest_get(url)
begin