Skip to content

Commit 0b635bd

Browse files
authored
chore(logging): increase log-verbosity on analysis exceptions (#7435)
1 parent 724f102 commit 0b635bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/owasp/dependencycheck/AnalysisTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public Void call() {
8787
try {
8888
analyzer.analyze(dependency, engine);
8989
} catch (AnalysisException ex) {
90-
LOGGER.warn("An error occurred while analyzing '{}' ({}).", dependency.getActualFilePath(), analyzer.getName());
90+
LOGGER.warn("An error occurred while analyzing '{}' ({}): {}", dependency.getActualFilePath(), analyzer.getName(), ex.getMessage());
9191
LOGGER.debug("", ex);
9292
exceptions.add(ex);
9393
} catch (Throwable ex) {

0 commit comments

Comments
 (0)