fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf1f099
)
better error reporting on publish
author
Jan Szejko
<janek37@gmail.com>
Mon, 16 Oct 2017 09:31:11 +0000
(11:31 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Mon, 16 Oct 2017 09:31:11 +0000
(11:31 +0200)
apps/catalogue/views.py
patch
|
blob
|
history
diff --git
a/apps/catalogue/views.py
b/apps/catalogue/views.py
index
e6f6cca
..
3d1a47f
100644
(file)
--- 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())