Adjust formatting of error page.
This commit is contained in:
parent
849aa57780
commit
b77ba57b74
|
@ -10,11 +10,6 @@
|
||||||
<h1>Software error: {{ tb.exception_type }}</h1>
|
<h1>Software error: {{ tb.exception_type }}</h1>
|
||||||
<div>
|
<div>
|
||||||
<pre>{{ tb.exception }}</pre>
|
<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>
|
</div>
|
||||||
|
|
||||||
{% set body %}
|
{% set body %}
|
||||||
|
@ -27,6 +22,9 @@ URL: {{ request.url }}
|
||||||
|
|
||||||
<h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
|
<h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
|
||||||
{{ tb.render_summary(include_title=False) | safe }}
|
{{ 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>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue