Skip plugins with malformed JSON metadata

When a plugin metadata artifact does not contain a valid JSON object,
JsonSyntaxException escapes from tryGetJson and aborts loading the
available plugin list.

Catch the exception, log the affected artifact URL, and treat the
metadata as unavailable so that the remaining plugins can still be
loaded.

Bug: Issue 564188311
Change-Id: I594f6736a45ef9868db3fec2dd9ea344c8a60e83
3 files changed
tree: f3da039211b9e79cb08eed7b4069d5855249233e
  1. src/
  2. .gitignore
  3. .zuul.yaml
  4. BUILD
  5. LICENSE
  6. README.md
README.md

plugin-manager

Gerrit web-based plugin manager.

To enable this plugin, please look at the configuration guide