Skip to content

Commit ca05132

Browse files
committed
code review fixes
1 parent ca35e20 commit ca05132

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

native-maven-plugin/src/main/java/org/graalvm/buildtools/maven/WriteArgsFileMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class WriteArgsFileMojo extends NativeCompileNoForkMojo {
7272
public void execute() throws MojoExecutionException {
7373
List<String> args = getBuildArgs();
7474

75-
getLog().info("Cleaning old native image build args");
75+
getLog().debug("Cleaning old native image build args");
7676

7777
try (Stream<Path> listStream = Files.list(outputDirectory.toPath())) {
7878
listStream.map(path -> path.getFileName().toString())
@@ -86,7 +86,7 @@ public void execute() throws MojoExecutionException {
8686
}
8787
});
8888
} catch (IOException e) {
89-
throw new RuntimeException(e);
89+
throw new MojoExecutionException(e);
9090
}
9191

9292
List<String> conversionResult = NativeImageUtils.convertToArgsFile(args, outputDirectory.toPath());

0 commit comments

Comments
 (0)