diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-07-19 11:51:46 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-07-19 11:51:46 +0100 |
commit | 583b8ea273be82ebdf2a9f81fd51a150d910b349 (patch) | |
tree | 7b105cbfdb10466a291b07ea6a583d2cded7076f /userapi/util | |
parent | bcff14adea471cbb496924622295c62c02a82720 (diff) |
Update FAQ
Diffstat (limited to 'userapi/util')
-rw-r--r-- | userapi/util/phonehomestats.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/userapi/util/phonehomestats.go b/userapi/util/phonehomestats.go index ad93a50e..b17f6206 100644 --- a/userapi/util/phonehomestats.go +++ b/userapi/util/phonehomestats.go @@ -139,7 +139,7 @@ func (p *phoneHomeStats) collect() { output := bytes.Buffer{} if err = json.NewEncoder(&output).Encode(p.stats); err != nil { - logrus.WithError(err).Error("unable to encode anonymous stats") + logrus.WithError(err).Error("Unable to encode phone-home statistics") return } @@ -147,14 +147,14 @@ func (p *phoneHomeStats) collect() { request, err := http.NewRequestWithContext(ctx, http.MethodPost, p.cfg.Global.ReportStats.Endpoint, &output) if err != nil { - logrus.WithError(err).Error("unable to create anonymous stats request") + logrus.WithError(err).Error("Unable to create phone-home statistics request") return } request.Header.Set("User-Agent", "Dendrite/"+internal.VersionString()) _, err = p.client.Do(request) if err != nil { - logrus.WithError(err).Error("unable to send anonymous stats") + logrus.WithError(err).Error("Unable to send phone-home statistics") return } } |