bin/metrics-beanstalkd-tubes.rb in sensu-plugins-beanstalk-1.2.0 vs bin/metrics-beanstalkd-tubes.rb in sensu-plugins-beanstalk-2.0.0

- old
+ new

@@ -104,9 +104,9 @@ @tube_filters[key].any? { |filter| File.fnmatch?(filter, value.to_s) } end def connection @conn ||= Beaneater::Pool.new(["#{config[:host]}:#{config[:port]}"]) - rescue => e + rescue StandardError => e warning "could not connect to beanstalkd: #{e}" end end