Utilize sentry to track execution errors

This commit is contained in:
Jeremy Zhang
2018-07-30 01:26:54 +00:00
parent 0efa1882a4
commit a7d80c39d2
8 changed files with 41 additions and 3 deletions

View 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 %}