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
parent 311c30a961
commit 978cd28d88
5 changed files with 1 additions and 81 deletions
-7
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
}