Skip to content

Commit

Permalink
feat: start go sentry only on prod
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Jul 30, 2020
1 parent e28fd17 commit 8247671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sgtm/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func runCmd(ctx context.Context, _ []string) error {
svcOpts.Context = ctx

// sentry
{
if !svcOpts.DevMode {
err := sentry.Init(sentry.ClientOptions{
Dsn: "https://5c6262a183b447b4909afc0ae980cef6@o419562.ingest.sentry.io/5371558",
Release: sgtmversion.Version,
Expand Down

0 comments on commit 8247671

Please sign in to comment.