Skip to content

Commit fe2c973

Browse files
a-orenclaude
andcommitted
fix(api): add debug log when license check is skipped for batch content
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 22e15c1 commit fe2c973

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/io/github/guacsec/trustifyda/impl/ExhortApi.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,10 @@ public CompletableFuture<ComponentAnalysisResult> componentAnalysisWithLicense(
701701
return reportFuture.thenCompose(
702702
report -> {
703703
if (!isLicenseCheckEnabled() || content.batch) {
704+
LOG.fine(
705+
String.format(
706+
"Skipping license check: enabled=%b, batch=%b",
707+
isLicenseCheckEnabled(), content.batch));
704708
return CompletableFuture.completedFuture(new ComponentAnalysisResult(report, null));
705709
}
706710
return LicenseCheck.runLicenseCheck(this, provider, manifestPath, sbomJson, report)

0 commit comments

Comments
 (0)