ErrorLog.attention(CheckAvailabilityJob.class,
"An error occurred when downloading plugin information from the server.", t);
}
private Iterable<PipelinePluginManifest> parseManifests(PluginAsXml xml) {
XmlToManifestTranslator translator = new XmlToManifestTranslator();
List<PipelinePluginManifest> manifests = new ArrayList<PipelinePluginManifest>();
try {
KongaListUtils.add(manifests, translator.translate(xml));
} catch (PluginSpecificationException ex) {
// This is not a fatal error, and we want to check as many manifests we can,
// so we just log this error and continue.
// TODO: We should mention this in the result reporting.
ErrorLog.log(getClass(), "An error occurred while parsing a plugin manifest.", ex);