Switch from raven to sentry_sdk

This commit is contained in:
Raphael Michel
2019-02-05 11:25:39 +01:00
parent b53ee1dc1d
commit bed0a0ceeb
6 changed files with 106 additions and 53 deletions

View File

@@ -8,13 +8,13 @@
<h1>{% trans "Internal Server Error" %}</h1>
<p>{% trans "We had trouble processing your request." %}</p>
<p>{% trans "If this problem persists, please contact us." %}</p>
{% if request.sentry.id %}
{% if sentry_event_id %}
<p>
{% blocktrans trimmed %}
If you contact us, please send us the following code:
{% endblocktrans %}
<br>
{{ request.sentry.id }}
{{ sentry_event_id }}
</p>
{% endif %}
<p>{{ exception }}</p>