diff options
| author | Julie Qiu <julie@golang.org> | 2021-08-05 09:01:47 -0400 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2021-08-06 13:10:59 +0000 |
| commit | 681a87caa79d7f22f9d38bae6cbafd9c680e2fc1 (patch) | |
| tree | 30117803619e2020cba1b69defd0fe87e4b2b516 /devtools | |
| parent | 6e22b7431b5cac59691509c201a467e17bd544ea (diff) | |
| download | go-x-pkgsite-681a87caa79d7f22f9d38bae6cbafd9c680e2fc1.tar.xz | |
internal/symbol: retry on go list error
go list sometimes "go: downloading...", when a module is not in the GOMODCACHE.
This will cause Decode to return the error:
"invalid character 'g' looking for beginning of value", which can fixed by rerunning the script.
Instead, just re-run go list when we see that message in the error.
For golang/go#37102
Change-Id: Ic864a4d475eeb594afa7fda90a7b63d073bae898
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/340091
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'devtools')
0 files changed, 0 insertions, 0 deletions
