mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Don't configure sentry unless there's a DSN
This commit is contained in:
parent
19f469db48
commit
d0ff2660bd
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,9 @@
|
|||
|
||||
<!-- Error logging (Sentry) -->
|
||||
<script>
|
||||
Raven.config('{{&sentry_dsn}}').install()
|
||||
if ('{{&sentry_dsn}}' !== '') {
|
||||
Raven.config('{{&sentry_dsn}}').install();
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Analytics (GA) -->
|
||||
|
|
Loading…
Reference in a new issue