Put a guard on sentry dsn

This commit is contained in:
Christopher Hoskin 2018-08-13 12:27:13 +01:00
parent 2aac47256f
commit f878ba0f20

View file

@ -39,6 +39,7 @@ module.exports =
parallelSqlQueryLimit:1
filestoreDomainOveride: process.env["FILESTORE_DOMAIN_OVERRIDE"]
texliveImageNameOveride: process.env["TEX_LIVE_IMAGE_NAME_OVERRIDE"]
if process.env['SENTRY_DSN']
sentry:
dsn: process.env['SENTRY_DSN']