mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-26 11:04:20 +00:00
16 lines
469 B
Django/Jinja
16 lines
469 B
Django/Jinja
{% extends "core/base.jinja" %}
|
|
{% block head %}
|
|
{{ super() }}
|
|
<script src="{{ static('core/js/sentry/bundle.min.js') }}" crossorigin="anonymous"></script>
|
|
{% endblock head %}
|
|
|
|
{% block content %}
|
|
<h3>{% trans %}500, Server Error{% endtrans %}</h3>
|
|
{% if settings.SENTRY_DSN %}
|
|
<script>
|
|
Sentry.init({ dsn: '{{ settings.SENTRY_DSN }}' });
|
|
Sentry.showReportDialog({ eventId: '{{ request.sentry_last_event_id() }}' })
|
|
</script>
|
|
{% endif %}
|
|
{% endblock content %}
|