dab-mechanic/templates/show_error.html

24 lines
527 B
HTML
Raw Normal View History

2022-08-15 17:56:21 +01:00
{% extends "base.html" %}
{% block style %}
<link rel="stylesheet" href="{{url_for('static', filename='css/exception.css')}}" />
{% endblock %}
{% block content %}
<div class="p-2">
<h1>Software error: {{ exception_type }}</h1>
2022-08-15 17:56:21 +01:00
<div>
<pre>{{ exception }}</pre>
2022-08-15 17:56:21 +01:00
</div>
<h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
{{ summary | safe }}
<p>Error in function "{{ last_frame.f_code.co_name }}": {{ last_frame_args | pprint }}</p>
<pre>{{ last_frame.f_locals | pprint }}</pre>
2022-08-15 17:56:21 +01:00
</div>
{% endblock %}