Disable sentry based crash reporting in probe-cli (#228)

This commit is contained in:
Arturo Filastò 2021-02-12 19:49:18 +01:00 committed by GitHub
commit 978cd28d88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 81 deletions

View file

@ -5,8 +5,6 @@ import (
"io/ioutil"
"sync"
"github.com/apex/log"
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/crashreport"
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/utils"
"github.com/pkg/errors"
)
@ -43,11 +41,6 @@ func ParseConfig(b []byte) (*Config, error) {
}
c.path = utils.ConfigPath(home)
if c.Advanced.SendCrashReports == false {
log.Info("Disabling crash reporting.")
crashreport.Disabled = true
}
return &c, nil
}