commit | 5c86378aae4c9aeaf522db7e0a3b312d079f8c3e | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Tue Sep 21 14:26:30 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Sep 21 21:35:14 2021 +0000 |
tree | 771785cc91d1605d35a63e80bbf449e14ccf3886 | |
parent | fd1ab173dc893b1f3ca943b35db26125538a1707 [diff] |
internal/fetch: log on bad package Log a BadPackageError from loadPackage. If all packages in a module failed to load, the errors were swallowed. They didn't appear in the logs or the DB. Also, remove the debugging logs inserted recently to find this problem. For golang/go#48451 Change-Id: Ide57f38b4187624aca6c0047d8b29e88e1f55f60 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/351270 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.