2018-10-10 00:07:13 +00:00
|
|
|
{% extends "core/base.jinja" %}
|
|
|
|
{% block head %}
|
|
|
|
{{ super() }}
|
2019-05-18 01:00:19 +00:00
|
|
|
<script src="{{ static('core/js/sentry/bundle.min.js') }}" crossorigin="anonymous"></script>
|
2018-10-10 00:07:13 +00:00
|
|
|
{% endblock head %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h3>{% trans %}500, Server Error{% endtrans %}</h3>
|
2018-10-10 13:27:21 +00:00
|
|
|
{% if settings.SENTRY_DSN %}
|
2018-10-10 00:07:13 +00:00
|
|
|
<script>
|
2018-10-10 14:33:12 +00:00
|
|
|
Sentry.init({ dsn: '{{ settings.SENTRY_DSN }}' });
|
2018-10-10 00:07:13 +00:00
|
|
|
Sentry.showReportDialog({ eventId: '{{ request.sentry_last_event_id() }}' })
|
|
|
|
</script>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock content %}
|