getsentry / raven-go

Sentry client in Go
https://sentry.io
BSD 3-Clause "New" or "Revised" License
561 stars 147 forks source link

How do you set auth token? #164

Closed kirkins closed 6 years ago

kirkins commented 6 years ago

In the documentation it shows how to set the DSN.

Shouldn't the auth token be set here too?

Coming from sentry-cli setup, now adding to a Go script.

mattrobenolt commented 6 years ago

Which auth token do you think needs to be set? You only need the DSN to report errors. The auth token is for the API.