aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views
diff options
context:
space:
mode:
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 577d2bcf..3429e6bb 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