bin/check-ses-limit.rb in sensu-plugins-aws-10.1.1 vs bin/check-ses-limit.rb in sensu-plugins-aws-10.1.2
- old
+ new
@@ -67,10 +67,10 @@
def run
begin
ses = Aws::SES::Client.new
response = ses.get_send_quota
- rescue => e
+ rescue StandardError => e
unknown "An issue occured while communicating with the AWS SES API: #{e.message}"
end
unknown 'Empty response from AWS SES API' if response.empty? # Can this happen?