Commit d0ff2660 authored by Ray Schamp's avatar Ray Schamp

Don't configure sentry unless there's a DSN

parent 19f469db
......@@ -55,7 +55,9 @@
<!-- Error logging (Sentry) -->
<script>
Raven.config('{{&sentry_dsn}}').install()
if ('{{&sentry_dsn}}' !== '') {
Raven.config('{{&sentry_dsn}}').install();
}
</script>
<!-- Analytics (GA) -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment