Handle resolution failures for sqs.
Don't deal with other exceptions.
Merge pull request #1416 from edx/feanil/resolution_error_in_aws

Handle resolution failures for sqs.