internal/worker: make json parsing errors obvious. We directly propagate the err from json.Unmarshall without any context. This makes it difficult to understand that the error message is even coming from a json parsing issue. Change-Id: Iec8a04b48092a079c2b44faf4cbd39cd5ac81ae9 Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/702495 Auto-Submit: Markus Kusano <kusano@google.com> Reviewed-by: Ethan Lee <ethanalee@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This repository contains code that enables collecting and evaluating metrics for the Go ecosystem.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.