aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/error.html
blob: 7256aee97703bfda8246a80e4ee06f6ff35a61a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% set page_title = 'Error' %}

{% if not slim %}
    {% extends "base.html" %}
{% endif %}

{% block style %}
    <link href="/youtube.com/static/home.css" rel="stylesheet">
{% endblock style %}

{% block main %}
    {% if traceback %}
        <div class="code-error" id="error-box">
            <h1>500 Uncaught exception:</h1>
            <div class="code-box"><code>{{ traceback }}</code></div>
            <p>Please report this issue at <a href="https://libregit.org/heckyel/yt-local/issues" target="_blank" rel="noopener noreferrer">https://libregit.org/heckyel/yt-local/issues</a></p>
            <p>Remember to include the traceback in your issue and redact any information in it you do not want to share</p>
        </div>
    {% else %}
        <div id="error-message">{{ error_message }}</div>
    {% endif %}
{% endblock %}