brittany-ferries/templates/show_error.html

31 lines
608 B
HTML
Raw Normal View History

2022-09-03 21:38:46 +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">
2023-04-16 19:56:26 +01:00
<h1>Software error: {{ exception_type }}</h1>
2022-09-03 21:38:46 +01:00
<div>
2023-04-16 19:56:26 +01:00
<pre>{{ exception }}</pre>
2022-09-03 21:38:46 +01:00
</div>
{% set body %}
URL: {{ request.url }}
{{ tb.plaintext | safe }}
{% endset %}
<h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
2023-04-16 19:56:26 +01:00
{{ summary | safe }}
2022-09-03 21:38:46 +01:00
2023-04-16 19:56:26 +01:00
{#
2022-09-03 21:38:46 +01:00
<p>Error in function "{{ last_frame.function_name }}": {{ last_frame_args | pprint }}</p>
<pre>{{ last_frame.locals | pprint }}</pre>
2023-04-16 19:56:26 +01:00
#}
2022-09-03 21:38:46 +01:00
</div>
{% endblock %}