From d903f0ef6d44e8451214ad9b138373c499fcfd9a Mon Sep 17 00:00:00 2001 From: muniri92 Date: Wed, 27 Apr 2016 18:33:21 -0700 Subject: [PATCH] fixed a bug on line 389 of the /plugin/inventory/ec2.py file. --- plugins/inventory/ec2.py | 2 ++ 1 file changed, 2 insertions(+) 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):