fix(sig scanner): when scan fails, log msg at ERROR (was INFO)
@@ -127,8 +127,8 @@ public class BlackDuckSignatureScannerTool {
return SignatureScannerToolResult.createOfflineResult(scanBatchOutput);
}
} catch (IOException | InterruptedException | IntegrationException e) {
- logger.info("Signature scan failed!");
- logger.debug("Signature scan error!", e);
+ logger.error(String.format("Signature scan failed: %s", e.getMessage()));
+ logger.debug("Signature scan error", e);
return SignatureScannerToolResult.createFailureResult();
} finally {
executorService.shutdownNow();
