bin/check-beanstalk-statistic.rb in sensu-plugins-beanstalk-0.0.3 vs bin/check-beanstalk-statistic.rb in sensu-plugins-beanstalk-0.0.4

- old
+ new

@@ -58,10 +58,10 @@ option :warn_low, short: '-W WARN_LOW_THRESHOLD', proc: proc(&:to_i), default: 0 - def run # rubocop:disable all + def run begin beanstalk = Beanstalk::Connection.new( "#{config[:host]}:#{config[:port]}" ) rescue => e