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

- old
+ new

@@ -88,10 +88,10 @@ else sqs.queues(queue_name_prefix: config[:prefix]).each do |q| record_queue_metrics(q.attributes['QueueArn'].split(':').last, q) end end - rescue => e + rescue StandardError => e critical "Error fetching SQS queue metrics: #{e.message}" end ok end end