jicofo, jigasi, jvb: fix SENTRY_DSN not being read

This commit is contained in:
Daniel McAssey
2023-12-01 12:34:39 +00:00
committed by Saúl Ibarra Corretgé
parent 42a2153a15
commit fa2b4db2d1
5 changed files with 14 additions and 8 deletions

View File

@@ -1,4 +1,6 @@
{{ if .Env.SENTRY_DSN | default "0" | toBool }}
{{ $SENTRY_DSN := .Env.SENTRY_DSN | default $JICOFO_SENTRY_DSN -}}
{{ if $SENTRY_DSN }}
handlers=java.util.logging.ConsoleHandler,io.sentry.jul.SentryHandler
{{ else }}
handlers=java.util.logging.ConsoleHandler