mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 11:25:22 +02:00
Utilize sentry to track execution errors
This commit is contained in:
11
webapp/titanembeds/templates/500.html.j2
Normal file
11
webapp/titanembeds/templates/500.html.j2
Normal file
@ -0,0 +1,11 @@
|
||||
<!-- Sentry JS SDK 2.1.+ required -->
|
||||
<script src="https://cdn.ravenjs.com/2.3.0/raven.min.js"></script>
|
||||
|
||||
{% if event_id %}
|
||||
<script>
|
||||
Raven.showReportDialog({
|
||||
eventId: '{{ event_id }}',
|
||||
dsn: '{{ public_dsn }}'
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
Reference in New Issue
Block a user