i forgot to change the debug setting

This commit is contained in:
sam 2023-09-20 03:42:45 +02:00
parent 9f266ee1a8
commit fc1f4d03f1
No known key found for this signature in database
GPG key ID: B4EF20DDE721CAA1

View file

@ -28,7 +28,7 @@ func run(c *cli.Context) error {
if dsn := os.Getenv("SENTRY_DSN"); dsn != "" { if dsn := os.Getenv("SENTRY_DSN"); dsn != "" {
sentry.Init(sentry.ClientOptions{ sentry.Init(sentry.ClientOptions{
Dsn: dsn, Dsn: dsn,
Debug: true, Debug: os.Getenv("DEBUG") == "true",
Release: server.Tag, Release: server.Tag,
EnableTracing: true, EnableTracing: true,
TracesSampleRate: 1.0, TracesSampleRate: 1.0,