bin/check-configservice-rules.rb in sensu-plugins-aws-10.1.1 vs bin/check-configservice-rules.rb in sensu-plugins-aws-10.1.2
- old
+ new
@@ -68,9 +68,9 @@
elsif unknown.any?
unknown("Config rules in unknown state: #{unknown.join(',')}")
else
ok
end
- rescue => e
+ rescue StandardError => e
unknown "An error occurred processing AWS ConfigService API: #{e.message}"
end
end