Is your feature request related to a problem? Please describe.
When any problem occurs during parsing json report check is silently skip
There is code:
try {
JsonReportFile report = JsonReportFile.getJsonReport(context.config(), fileSystem, pathResolver);
return Optional.of(JsonReportParserHelper.parse(report.getInputStream()));
} catch (FileNotFoundException e) {
LOGGER.info("JSON-Analysis skipped/aborted due to missing report file");
LOGGER.debug(e.getMessage(), e);
} catch (ReportParserException e) {
LOGGER.warn("JSON-Analysis aborted");
LOGGER.debug(e.getMessage(), e);
} catch (IOException e) {
LOGGER.warn("JSON-Analysis aborted due to: IO Errors", e);
}
Describe the solution you'd like
should be at least like for IOException:
LOGGER.warn("JSON-Analysis aborted", e);
Describe alternatives you've considered
I would like to consider to break analize due to ReportParserException or IOException.
Eventually I would like to consider to add an option to require analize with success in strict mode.
Is your feature request related to a problem? Please describe.
When any problem occurs during parsing json report check is silently skip
There is code:
Describe the solution you'd like
should be at least like for IOException:
Describe alternatives you've considered
I would like to consider to break analize due to ReportParserException or IOException.
Eventually I would like to consider to add an option to require analize with success in strict mode.