mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
senrty: fix SENTRY_DSN in error page
This commit is contained in:
parent
f4122bbc37
commit
f91ba25b25
@ -12,7 +12,7 @@
|
|||||||
<h3>{% trans %}500, Server Error{% endtrans %}</h3>
|
<h3>{% trans %}500, Server Error{% endtrans %}</h3>
|
||||||
{% if settings.SENTRY_DSN %}
|
{% if settings.SENTRY_DSN %}
|
||||||
<script>
|
<script>
|
||||||
Sentry.init({ dsn: '{{ request.sentry_dsn }}' });
|
Sentry.init({ dsn: '{{ settings.SENTRY_DSN }}' });
|
||||||
Sentry.showReportDialog({ eventId: '{{ request.sentry_last_event_id() }}' })
|
Sentry.showReportDialog({ eventId: '{{ request.sentry_last_event_id() }}' })
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user