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 14, 2024
1 parent 6d2ce5a commit 1887f46
Showing 1 changed file with 1 addition and 1 deletion.
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 1887f46

Please sign in to comment.