This is an automated email from the ASF dual-hosted git repository. simonetripodi pushed a commit to branch SLING-7996 in repository https://gitbox.apache.org/repos/asf/sling-slingfeature-maven-plugin.git
commit e04f1632d124b4222ac732f4ff4d52a2295a37be Author: Simo Tripodi <[email protected]> AuthorDate: Tue Oct 9 12:10:19 2018 +0200 SLING-7996 - Don't ignore feature Analyzer thrown error in the Mojo detected exception is not ignored --- .../java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java b/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java index 0e5af38..7ca1616 100644 --- a/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java +++ b/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java @@ -97,7 +97,7 @@ public class AnalyseFeaturesMojo extends AbstractFeatureMojo { getLog().debug("Feature " + f.getId() + " succesfully passed all analysis"); } catch (Throwable t) { failed = true; - getLog().error("An error occurred while analyzing Feature '" + f.getId() + "', read the log for details"); + getLog().error("An error occurred while analyzing Feature '" + f.getId() + "', read the log for details:", t); } } } catch (IOException e) {
