Files
snikket-web-portal/snikket_web/templates/generic_http_error.html
Jonas Schäfer f363ff0b38 Fix error handling
Previously, some kinds of errors would throw nice and fun cascades
of exceptions.

We now have a nice, clean error page for 500 and 503 (backend
connectivity) errors which includes minimal debugging information
for productive setups and a traceback for development setups.

In any case, the full exception is logged to the log with an error
ID which is printed on the error page.
2021-01-21 18:09:55 +01:00

14 lines
379 B
HTML

{% extends "unauth.html" %}
{% from "library.j2" import standard_button %}
{% block content -%}
<div class="box alert el-3">
<header>{{ name }}</header>
<p>{{ description }}.</p>
<div class="f-bbox">
{%- call standard_button("back", url_for("index"), class="primary") -%}
{% trans %}Go back to the main page{% endtrans %}
{%- endcall -%}
</div>
</div>
{%- endblock %}