Capture client javascript errors with sentry too

This commit is contained in:
Jeremy Zhang
2018-07-30 07:43:01 +00:00
parent c2bf983983
commit 5f8ecf03ed
5 changed files with 10 additions and 0 deletions

View File

@@ -93,6 +93,8 @@
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js" integrity="sha256-uWtSXRErwH9kdJTIr1swfHFJn/d/WQ6s72gELOHXQGM=" crossorigin="anonymous"></script>
{% include 'sentry_js_init.html.j2' %}
{% if not dbl_voted or (dbl_voted and request.path == "/") %}
<script>
$(document).ready(function () {