diff --git a/plugins/inventory/ec2.py b/plugins/inventory/ec2.py index 5f7bd06..abcd55f 100755 --- a/plugins/inventory/ec2.py +++ b/plugins/inventory/ec2.py @@ -386,6 +386,8 @@ def get_rds_instances_by_region(self, region): error = self.get_auth_error_message() if not e.reason == "Forbidden": error = "Looks like AWS RDS is down:\n%s" % e.message + else: + error = "Something nasty: \n%s" % e.message self.fail_with_error(error) def get_auth_error_message(self):