aws-cloudformation / aws-cloudformation-resource-providers-logs

The CloudFormation Resource Provider Package For Amazon CloudWatch Logs
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html
Apache License 2.0
33 stars 35 forks source link

Catch all errors that can be thrown by the AWS SDK calls #36

Open benbridts opened 4 years ago

benbridts commented 4 years ago

Catching and rethrowing as CloudFormation specific exceptions, will improve retries. Ideally there should be no uncaught exceptions from the client.


There are more exceptions that can be thrown

Originally posted by @miparnisari in https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs/pull/27