Skip to content

Commit 84e553d

Browse files
committed
fix: log GrokAssembly output when dotnet invocation fails
Signed-off-by: Chad Wilson <[email protected]>
1 parent c961c80 commit 84e553d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/owasp/dependencycheck/analyzer/AssemblyAnalyzer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ public void prepareFileTypeAnalyzer(Engine engine) throws InitializationExceptio
373373
if (p.exitValue() != 1 || !StringUtils.isBlank(error)) {
374374
LOGGER.warn("An error occurred with the .NET AssemblyAnalyzer, please see the log for more details.\n"
375375
+ "dependency-check requires dotnet 8.0 core runtime or sdk to be installed to analyze assemblies.");
376-
LOGGER.debug("GrokAssembly.dll is not working properly");
376+
LOGGER.debug("GrokAssembly.dll is not working properly: {}", error);
377377
grokAssembly = null;
378378
setEnabled(false);
379379
throw new InitializationException("Could not execute .NET AssemblyAnalyzer, is the dotnet 8.0 runtime or sdk installed?");

0 commit comments

Comments
 (0)