Add debugging around staging environment not acting like prod
This commit is contained in:
parent
2283aba713
commit
e33bce7436
2 changed files with 8 additions and 2 deletions
3
main.go
3
main.go
|
|
@ -46,8 +46,9 @@ func main() {
|
|||
log.Warn().Msg("Forcing production mode for testing templates")
|
||||
config.Environment = "PRODUCTION"
|
||||
}
|
||||
log.Info().Str("environment", config.Environment).Bool("is-prod", config.IsProductionEnvironment()).Msg("Starting")
|
||||
err = sentry.Init(sentry.ClientOptions{
|
||||
Debug: false, //!config.IsProductionEnvironment(),
|
||||
Debug: !config.IsProductionEnvironment(),
|
||||
Dsn: config.SentryDSN,
|
||||
EnableTracing: true,
|
||||
SendDefaultPII: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue