Skip to content

Commit

Permalink
[MCOMPILER-574] Propagate cause of exception in AbstractCompilerMojo
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Mar 15, 2024
1 parent 6d2ce5a commit b2b9196
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ public void execute() throws MojoExecutionException, CompilationFailureException
try {
compiler = compilerManager.getCompiler(compilerId);
} catch (NoSuchCompilerException e) {
throw new MojoExecutionException("No such compiler '" + e.getCompilerId() + "'.");
throw new MojoExecutionException("No such compiler '" + e.getCompilerId() + "'.", e);
}

// -----------toolchains start here ----------------------------------
Expand Down

0 comments on commit b2b9196

Please sign in to comment.