Integrating Sentry for JS error tracking

This commit is contained in:
Jeff Avallone
2017-07-29 17:36:46 -04:00
parent fac820aecd
commit 90253b69c9
4 changed files with 13 additions and 14 deletions
+2
View File
@@ -63,6 +63,8 @@
<script type="text/html" id="svg-container-base">
{{> "svg_template"}}
</script>
{{> "sentry"}}
{{/block}}
</footer>
+6
View File
@@ -0,0 +1,6 @@
{{#if sentryKey}}
<script src="https://cdn.ravenjs.com/3.17.0/raven.min.js" crossorigin="anonymous"></script>
<script>
Raven.config('{{{sentryKey}}}').install()
</script>
{{/if}}