[maven-debian-helper] 02/03: Improved the execution failure message in SysInstallMojo
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Feb 4 16:06:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository maven-debian-helper.
commit 47284227bdba01e0ee93daf60c9c7777bc61104e
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Feb 4 15:26:58 2014 +0100
Improved the execution failure message in SysInstallMojo
---
.../src/main/java/org/debian/maven/plugin/SysInstallMojo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallMojo.java b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallMojo.java
index 43615e1..57b5a36 100644
--- a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallMojo.java
+++ b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallMojo.java
@@ -207,7 +207,7 @@ public class SysInstallMojo extends AbstractMojo {
runMojo();
} catch (IOException e) {
getLog().error("execution failed", e);
- throw new MojoExecutionException("IOException catched");
+ throw new MojoExecutionException("Failed to execute " + getClass().getSimpleName(), e);
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-debian-helper.git
More information about the pkg-java-commits
mailing list