This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-slingstart-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new bec3fb2  SLING-7318 improve exception message
bec3fb2 is described below

commit bec3fb21360e34c49329ad54f43336f47f79df36
Author: Konrad Windszus <[email protected]>
AuthorDate: Tue Dec 19 13:26:45 2017 +0100

    SLING-7318 improve exception message
---
 src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java 
b/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java
index e73f611..0caf0d9 100644
--- a/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java
+++ b/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java
@@ -392,7 +392,7 @@ public class PreparePackageMojo extends 
AbstractSlingStartMojo {
                 startLevelHolder.set(sl);
             addReadme(os);
         } catch (IOException ioe) {
-            throw new MojoExecutionException("Problem creating subsystem .esa 
file " + subsystemFile, ioe);
+            throw new MojoExecutionException("Problem creating subsystem .esa 
file " + subsystemFile + " due to " + ioe.getMessage(), ioe);
         }
         return subsystemFile;
     }

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to