diff options
author | Frederick Muriuki Muriithi | 2024-06-17 11:03:25 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-06-17 11:03:25 -0500 |
commit | 5612df9436cad6d9b88242cb26c8d2de7fd174e7 (patch) | |
tree | d53ddda60a66122620f3457d556210982ee47657 /gn_auth/templates/50x.html | |
parent | 7148cca0f169ffbace5c1d19d9831e66c1fd7647 (diff) | |
download | gn-auth-5612df9436cad6d9b88242cb26c8d2de7fd174e7.tar.gz |
Present errors more cleanly.
Diffstat (limited to 'gn_auth/templates/50x.html')
-rw-r--r-- | gn_auth/templates/50x.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gn_auth/templates/50x.html b/gn_auth/templates/50x.html new file mode 100644 index 0000000..859a232 --- /dev/null +++ b/gn_auth/templates/50x.html @@ -0,0 +1,25 @@ +{%extends "base.html"%} + +{%block title%} +{{error.status_code or 500}}: {{error.description or "Generic Exception"}} +{%endblock%} + +{%block pagetitle%} +{{error.status_code or 500}}: {{error.description or "Generic Exception"}} +{%endblock%} + +{%block content%} + +<p>The system has done something it should not! This is our fault.</p> + +<p> + Please send us the details below to help us figure out what we did wrong and + fix it. +</p> + +<div class="row"> + <p><strong>URI: {{page}}</p> + <pre>{{"".join(trace)}}</pre> +</div> + +{%endblock%} |