Commit b9dfcb22 by Zia Fazal

log exception in the logs to debug issue

parent 300bd431
......@@ -84,6 +84,7 @@ def handle_500(template_path, context=None):
# In debug mode let django process the 500 errors and display debug info for the developer
raise
else:
log.exception("Error in django view.")
return render_to_response(template_path, context)
return inner
return decorator
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment