Catch and log Exception.
@@ -93,7 +93,7 @@ public class VulnerabilityStatementsProcessor extends Plugin {
var metadataUtility = new MetadataUtility();
lastProcessedVulnerability = injectVulnerabilityIntoDB(vulnerability, metadataUtility);
outputPath = baseOutputPath + File.separator + vulnerability.getId() + ".json";
- } catch (JsonProcessingException e) {
+ } catch (Exception e) {
logger.error("Error reading vulnerability statement (JSON): " + e);
setPluginError(e);
}
