Permalink
Browse files

keep the root cause

git-svn-id: https://svn.java.net/svn/com4j~svn/trunk/com4j@348 590aa308-3dd6-4388-9d27-cebafe3e2bdc
  • Loading branch information...
1 parent fc3033c commit 19b2250b827dc2856279d36230ddf1082f7cffe7 kohsuke committed Apr 19, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 maven-com4j-plugin/src/main/java/com4j/tlbimp/driver/Com4jgenMojo.java
@@ -181,7 +181,7 @@ public void execute() throws MojoExecutionException {
// Excel), we should continue with the mojo though
getLog().warn(
"Com4j had an error while running: \n" + e.getMessage());
- throw new MojoExecutionException(e.getMessage());
+ throw new MojoExecutionException(e.getMessage(),e);
}
getLog().debug("adding generated files to Maven compile source");

0 comments on commit 19b2250

Please sign in to comment.