depicts/templates/show_error.html

31 lines
904 B
HTML
Raw Normal View History

2019-09-29 08:27:35 +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: {{ tb.exception_type }}</h1>
<div>
<pre>{{ tb.exception }}</pre>
2019-09-29 08:27:35 +01:00
</div>
{% set body %}
URL: {{ request.url }}
{{ tb.plaintext | safe }}
{% endset %}
<p><a class="btn btn-primary btn-lg" role="button" href="https://github.com/EdwardBetts/depicts/issues/new?title={{ tb.exception + " " + request.url | urlencode }}&body={{ body | urlencode }}">Submit as an issue on GitHub</a> (requires an account with GitHub)</p>
<h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
{{ tb.render_summary(include_title=False) | safe }}
2020-01-07 14:44:20 +00:00
2020-01-08 15:38:16 +00:00
<p>Error in function "{{ last_frame.function_name }}": {{ last_frame_args | pprint }}</p>
2020-01-07 14:44:20 +00:00
<pre>{{ last_frame.locals | pprint }}</pre>
2019-09-29 08:27:35 +01:00
</div>
{% endblock %}