cmd/govulncheck_compare: don't exit on analysis failure

It seems that sometimes analysis of a binary or respective source code
in the compare mode can result in failure. Before this CL, we would
immediatelly stop. Now, we remember the error and continue with
analyzing other binaries.

This should increase coverage and result in error log with both package
and version info included, needed for debugging.

Change-Id: I65418b0cbc4f0f7d33a296e84d6911bc77e4a275
Reviewed-by: Maceo Thompson <>
Run-TryBot: Zvonimir Pavlinovic <>
TryBot-Result: Gopher Robot <>
2 files changed
tree: dbe4cb13ce2df609016d03cf447b8b040220855a
  1. cmd/
  2. deploy/
  3. devtools/
  4. internal/
  5. terraform/
  6. .dockerignore
  7. .gitignore
  8. all_test.go
  9. checks.bash
  10. config.json.commented
  12. go.mod
  13. go.sum
  15. Makefile
  18. tools.go


This repository contains code that serves

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see

The main issue tracker for the time repository is located at Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.