Add support for crash reporting via sentry and change the send_crash_reports key
This commit is contained in:
parent
b8dff783e1
commit
d88764aa34
7 changed files with 72 additions and 19 deletions
|
|
@ -127,10 +127,10 @@ func Onboarding(config *config.Config) error {
|
|||
config.Lock()
|
||||
config.InformedConsent = true
|
||||
config.Advanced.IncludeCountry = settings.IncludeCountry
|
||||
config.Advanced.SendCrashReports = settings.SendCrashReports
|
||||
config.Sharing.IncludeIP = settings.IncludeIP
|
||||
config.Sharing.IncludeASN = settings.IncludeNetwork
|
||||
config.Sharing.UploadResults = settings.UploadResults
|
||||
config.Sharing.SendCrashReports = settings.SendCrashReports
|
||||
config.Unlock()
|
||||
|
||||
if err := config.Write(); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue