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
1 changed files with 1 additions and 1 deletions

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):