Skip to content

Commit 303c703

Browse files
committed
explicit error message in ExecGraalPyMojo
1 parent 915db1f commit 303c703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/graalpy-maven-plugin/src/main/java/org/graalvm/python/maven/plugin/ExecGraalPyMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private static void runGraalPy(MavenProject project, GraalPyRunner.Log log, Str
103103
try {
104104
GraalPyRunner.run(classpath, log, args);
105105
} catch (IOException | InterruptedException e) {
106-
throw new MojoExecutionException(e);
106+
throw new MojoExecutionException(String.format("failed to run Graalpy launcher"), e);
107107
}
108108
}
109109

0 commit comments

Comments
 (0)