Commit b2b03e53 authored by Sli's avatar Sli

Merge branch 'sentry' into 'master'

senrty: fix SENTRY_DSN in error page

See merge request !166
parents 6fd34bca f91ba25b
Pipeline #1560 passed with stage
in 7 minutes and 23 seconds
......@@ -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 %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment