This commit is contained in:
Edward Betts 2023-04-16 19:56:26 +01:00
parent c26383c9c0
commit a5195cba1a
7 changed files with 263 additions and 71 deletions

View file

@ -7,9 +7,9 @@
{% block content %}
<div class="p-2">
<h1>Software error: {{ tb.exception_type }}</h1>
<h1>Software error: {{ exception_type }}</h1>
<div>
<pre>{{ tb.exception }}</pre>
<pre>{{ exception }}</pre>
</div>
{% set body %}
@ -19,10 +19,12 @@ URL: {{ request.url }}
{% endset %}
<h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
{{ tb.render_summary(include_title=False) | safe }}
{{ summary | safe }}
{#
<p>Error in function "{{ last_frame.function_name }}": {{ last_frame_args | pprint }}</p>
<pre>{{ last_frame.locals | pprint }}</pre>
#}
</div>
{% endblock %}