bin/metrics-ec2-count.rb in sensu-plugins-aws-10.1.1 vs bin/metrics-ec2-count.rb in sensu-plugins-aws-10.1.2

- old
+ new

@@ -126,11 +126,10 @@ if config[:type] == 'instance' by_instances_type(client) elsif config[:type] == 'status' by_instances_status(client) end - - rescue => e + rescue StandardError => e puts "Error: exception: #{e}" critical end ok end