Merge "Remove redundant information from error message"
This commit is contained in:
commit
68adb8ccb4
@ -52,7 +52,7 @@ class HTTPException(ClientException):
|
|||||||
self.details = details or self.__class__.__name__
|
self.details = details or self.__class__.__name__
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "%s (HTTP %s)" % (self.details, self.code)
|
return "HTTP %s" % (self.details)
|
||||||
|
|
||||||
|
|
||||||
class HTTPMultipleChoices(HTTPException):
|
class HTTPMultipleChoices(HTTPException):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user