Merge "Remove redundant information from error message"

This commit is contained in:
Zuul 2019-03-06 11:28:50 +00:00 committed by Gerrit Code Review
commit 68adb8ccb4

View File

@ -52,7 +52,7 @@ class HTTPException(ClientException):
self.details = details or self.__class__.__name__
def __str__(self):
return "%s (HTTP %s)" % (self.details, self.code)
return "HTTP %s" % (self.details)
class HTTPMultipleChoices(HTTPException):