Rectify traceback.format_exc() call (#25773)
Fix adds correct call to traceback.format_exc method Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
820c99c90b
commit
6bc1e802e3
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ class CloudFrontServiceManager:
|
||||||
return self.paginated_response(func)
|
return self.paginated_response(func)
|
||||||
except botocore.exceptions.ClientError as e:
|
except botocore.exceptions.ClientError as e:
|
||||||
self.module.fail_json(msg="Error describing distribution configuration - " + str(e),
|
self.module.fail_json(msg="Error describing distribution configuration - " + str(e),
|
||||||
exception=traceback.format_exec(e),
|
exception=traceback.format_exc(),
|
||||||
**camel_dict_to_snake_dict(e.response))
|
**camel_dict_to_snake_dict(e.response))
|
||||||
|
|
||||||
def get_origin_access_identity(self, origin_access_identity_id):
|
def get_origin_access_identity(self, origin_access_identity_id):
|
||||||
|
|
Loading…
Reference in a new issue