try to add version
This commit is contained in:
parent
a3349fe7b1
commit
ec1462cfef
2 changed files with 6 additions and 1 deletions
|
@ -26,6 +26,9 @@ var (
|
|||
webhookToken = os.Getenv("webhook_token")
|
||||
)
|
||||
|
||||
// sentry
|
||||
var release string
|
||||
|
||||
func main() {
|
||||
// query different sources store to db
|
||||
// try to incorporate operagx apiUrl:
|
||||
|
@ -38,11 +41,13 @@ func main() {
|
|||
// - check ubisoft works
|
||||
|
||||
err := sentry.Init(sentry.ClientOptions{
|
||||
// Either set your DSN here or set the SENTRY_DSN environment variable.
|
||||
Dsn: "https://0282823b5ee14546a4c154c129109a31@sentry.rvo.one/2",
|
||||
// Set TracesSampleRate to 1.0 to capture 100%
|
||||
// of transactions for performance monitoring.
|
||||
// We recommend adjusting this value in production,
|
||||
TracesSampleRate: 1.0,
|
||||
Release: release,
|
||||
})
|
||||
if err != nil {
|
||||
log.Fatalf("sentry.Init: %s", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue