diff options
author | Andy Doan <andy.doan@linaro.org> | 2015-04-14 13:30:03 -0500 |
---|---|---|
committer | Andy Doan <andy.doan@linaro.org> | 2015-04-15 12:18:21 -0500 |
commit | bbae70f401039ec96c919270d2a853a5e2916731 (patch) | |
tree | adcbcd7ea338bf835bff61057e7212cae92d37d9 /templates | |
parent | 17bc210a625496a67c4d58cc40b2d309e5e4670c (diff) |
handle 500 errors properly
The django handler for 500 stuff doesn't include the request context.
We need this because our page uses the "base_page" value to support
themes for 96boards and linaro.
NOTE: django doesn't include test ability for 500 in their "client"
object, so this requires manual verification.
Change-Id: Ibdf414e2cac3e8f2d74c6d96f1d202fd34d41372
Diffstat (limited to 'templates')
-rw-r--r-- | templates/500.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/500.html b/templates/500.html index 6094529..727ea9c 100644 --- a/templates/500.html +++ b/templates/500.html @@ -2,4 +2,9 @@ {% block content %} Server error. +{% if exception %} +<pre> +{{exception}} +</pre> +{% endif %} {% endblock %} |