adding a little more logging
@@ -24,6 +24,7 @@ package com.blackducksoftware.integration.hub.detect.summary
import java.util.Map.Entry
+import org.apache.commons.lang3.StringUtils
import org.springframework.stereotype.Component
import com.blackducksoftware.integration.hub.detect.model.BomToolType
@@ -79,7 +80,11 @@ class DetectSummary {
for (Entry<File, Result> entry : scanResults.entrySet()) {
logger.info("Scan Target ${entry.getKey()}: ${entry.getValue().toString()}")
}
+
logger.info("")
+ if (StringUtils.isNotBlank(exitMessage)) {
+ logger.info("Exit Message: ${exitMessage}")
+ }
logger.info("Overall Status: ${exitCodeType.toString()}")
logger.info("================================")
logger.info("")
