Skip to content

Commit

Permalink
chore: fixes Issue found by SonarQube
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmejaeger committed Jan 9, 2025
1 parent 7ea6b49 commit 1ba36f6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,7 @@ protected String createBuilder(Path configPath, List<String> buildX, ImageConfig
}
int rc = exec.process(cmds);
if (rc != 0) {
logger.warn("Failed to execute: {}", cmds);
// throw new MojoExecutionException("Error status (" + rc + ") while creating builder " + builderName);
throw new MojoExecutionException("Error status (" + rc + ") while creating builder " + builderName);
}
}
return builderName;
Expand Down

0 comments on commit 1ba36f6

Please sign in to comment.