diff --git a/django_tinsel/decorators.py b/django_tinsel/decorators.py index 2447f96..dfe989b 100644 --- a/django_tinsel/decorators.py +++ b/django_tinsel/decorators.py @@ -131,7 +131,7 @@ def newreq(request, *args, **kwargs): response['Content-Type'] = content_type except HttpBadRequestException as bad_request: - response = HttpResponseBadRequest(bad_request.message) + response = HttpResponseBadRequest(bad_request) return response return newreq