We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3de218 commit 3a1af42Copy full SHA for 3a1af42
go.mod
@@ -5,7 +5,6 @@ go 1.21
5
require (
6
github.com/getsentry/sentry-go v0.25.0
7
github.com/spf13/cobra v1.8.0
8
- github.com/spf13/viper v1.18.0
9
github.com/steinfletcher/apitest v1.5.15
10
github.com/stretchr/testify v1.8.4
11
)
main.go
@@ -12,7 +12,7 @@ import (
12
func main() {
13
defer panicRecover()
14
viper.AutomaticEnv()
15
- viper.SetDefault("SENTRY_DSN", "")
+ viper.SetDefault("SENTRY_DSN", "https://2ed32e0bcb336bf19065411bdbe0887f@o4506350446575616.ingest.sentry.io/4506350457847808")
16
17
sentry.Init(sentry.ClientOptions{
18
Dsn: viper.Get("SENTRY_DSN").(string),
0 commit comments