pyramid/httpexceptions.py | ●●●●● patch | view | raw | blame | history |
pyramid/httpexceptions.py
@@ -238,7 +238,7 @@ del self.content_length def __str__(self): return self.detail or self.explanation return str(self.detail) if self.detail else self.explanation def _json_formatter(self, status, body, title, environ): return {'message': body,