From 3172176940dcc52a19297f5d96e7c76cf7b45990 Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Tue, 11 Feb 2020 13:08:20 -0500 Subject: [PATCH] By default, give status code in exception representation --- awxkit/awxkit/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awxkit/awxkit/exceptions.py b/awxkit/awxkit/exceptions.py index d8d132cef2..c1ff01719a 100644 --- a/awxkit/awxkit/exceptions.py +++ b/awxkit/awxkit/exceptions.py @@ -15,7 +15,7 @@ class Common(Exception): return self.__str__() def __str__(self): - return str(self.msg) + return '{} - {}'.format(self.status_string, self.msg) class BadRequest(Common):