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
1 changed files with 1 additions and 1 deletions

View File

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