mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Add Sentry logging
This commit is contained in:
@@ -6,5 +6,6 @@
|
||||
<div class="text-center">
|
||||
<h1>500: Server error</h1>
|
||||
<img src="{% static 'imgs/500.jpg' %}"/>
|
||||
<p>If you need assistance, you may reference this error as <strong>{{ request.sentry.id }}</strong>.</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{% load static from staticfiles %}
|
||||
{% load raven %}
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
@@ -21,6 +22,7 @@
|
||||
{% endblock %}
|
||||
|
||||
<script src="//code.jquery.com/jquery-latest.min.js"></script>
|
||||
<script>Raven.config('{% sentry_public_dsn %}').install()</script>
|
||||
{% block preload_js %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user