Skip to content

Commit 3a1af42

Browse files
committed
fix: hard code sentry DSN as it is not sensitive
1 parent b3de218 commit 3a1af42

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go 1.21
55
require (
66
github.com/getsentry/sentry-go v0.25.0
77
github.com/spf13/cobra v1.8.0
8-
github.com/spf13/viper v1.18.0
98
github.com/steinfletcher/apitest v1.5.15
109
github.com/stretchr/testify v1.8.4
1110
)

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
func main() {
1313
defer panicRecover()
1414
viper.AutomaticEnv()
15-
viper.SetDefault("SENTRY_DSN", "")
15+
viper.SetDefault("SENTRY_DSN", "https://2ed32e0bcb336bf19065411bdbe0887f@o4506350446575616.ingest.sentry.io/4506350457847808")
1616

1717
sentry.Init(sentry.ClientOptions{
1818
Dsn: viper.Get("SENTRY_DSN").(string),

0 commit comments

Comments
 (0)