ottlinger commented on code in PR #602:
URL: https://github.com/apache/creadur-rat/pull/602#discussion_r2655591878


##########
apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java:
##########
@@ -504,7 +504,7 @@ protected ReportConfiguration getConfiguration() throws 
MojoExecutionException {
                     }
                 }
                 if (families != null || 
getDeprecatedConfigs().findAny().isPresent()) {
-                    if (log.isEnabled(Log.Level.DEBUG)) {
+                    if (log.isEnabled(Log.Level.DEBUG) && families != null) {

Review Comment:
   Did you verify if you run into other exceptions with that change? I suspect 
that it only lets you stumble into the next exception .... thx



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to