bin/check-beanstalk-jobs.rb in sensu-plugins-beanstalk-1.2.0 vs bin/check-beanstalk-jobs.rb in sensu-plugins-beanstalk-2.0.0

- old
+ new

@@ -61,10 +61,10 @@ def run begin beanstalk = Beanstalk::Connection.new( "#{config[:host]}:#{config[:port]}" ) - rescue => e + rescue StandardError => e critical "Failed to connect: (#{e})" end if config[:tube] begin