Merge branch 'sentry' into 'master'

senrty: fix SENTRY_DSN in error page

See merge request ae/Sith!166
This commit is contained in:
Antoine Bartuccio 2018-10-10 16:40:57 +02:00
commit b2b03e530a
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
<h3>{% trans %}500, Server Error{% endtrans %}</h3>
{% if settings.SENTRY_DSN %}
<script>
Sentry.init({ dsn: '{{ request.sentry_dsn }}' });
Sentry.init({ dsn: '{{ settings.SENTRY_DSN }}' });
Sentry.showReportDialog({ eventId: '{{ request.sentry_last_event_id() }}' })
</script>
{% endif %}