Adjust formatting of error page.

This commit is contained in:
Edward Betts 2020-01-07 14:44:20 +00:00
parent 849aa57780
commit b77ba57b74

View file

@ -10,11 +10,6 @@
<h1>Software error: {{ tb.exception_type }}</h1>
<div>
<pre>{{ tb.exception }}</pre>
<p>Error in function "{{ tb.frames[-1].function_name }}"<br>
{{ last_frame_args | pprint }}<br>
locals: {{ last_frame.locals | pprint }}
<p>
</div>
{% set body %}
@ -27,6 +22,9 @@ URL: {{ request.url }}
<h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
{{ tb.render_summary(include_title=False) | safe }}
<p>Error in function "{{ tb.frames[-1].function_name }}": {{ last_frame_args | pprint }}</p>
<pre>{{ last_frame.locals | pprint }}</pre>
</div>
{% endblock %}