X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/8906541ccda592d4e3c3d21618fb34f662916aa0..886286a97f29204af33d0061ae51eb1b19ec0441:/apps/catalogue/views.py?ds=sidebyside 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())