X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/8906541ccda592d4e3c3d21618fb34f662916aa0..b170eb5c56df6d11ae6764acb4145eebab972cc1:/apps/catalogue/views.py?ds=inline diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index e6f6cca7..3d1a47f3 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -571,7 +571,7 @@ def publish(request, slug): except NotAuthorizedError: return http.HttpResponseRedirect(reverse('apiclient_oauth')) except BaseException, e: - return http.HttpResponse(e) + return http.HttpResponse(repr(e)) else: return http.HttpResponseRedirect(book.get_absolute_url())