aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-19 10:24:46 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-19 10:24:46 +0200
commit4dc45b55c737bab61a8081d3d93c30489218d0c5 (patch)
treed494c7f11f2be75b0abd34537733c2b363cdc77d /pyaggr3g470r/views
parentForgot the section of postmark_api_key conf variable. (diff)
downloadnewspipe-4dc45b55c737bab61a8081d3d93c30489218d0c5.tar.gz
newspipe-4dc45b55c737bab61a8081d3d93c30489218d0c5.tar.bz2
newspipe-4dc45b55c737bab61a8081d3d93c30489218d0c5.zip
Remove the HTML 500 error handler to better understand the problem.
Diffstat (limited to 'pyaggr3g470r/views')
-rw-r--r--pyaggr3g470r/views/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyaggr3g470r/views/views.py b/pyaggr3g470r/views/views.py
index 3b018c6d..e0086032 100644
--- a/pyaggr3g470r/views/views.py
+++ b/pyaggr3g470r/views/views.py
@@ -114,9 +114,9 @@ def authentication_failed(e):
def page_not_found(e):
return render_template('errors/404.html'), 404
-@app.errorhandler(500)
-def internal_server_error(e):
- return render_template('errors/500.html'), 500
+#@app.errorhandler(500)
+#def internal_server_error(e):
+ #return render_template('errors/500.html'), 500
def redirect_url(default='home'):
bgstack15