Disable sentry based crash reporting in probe-cli (#228)
This commit is contained in:
parent
311c30a961
commit
978cd28d88
5 changed files with 1 additions and 81 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue