Skip to content

Commit

Permalink
bz-26453 use INFO log level to print the result log message from exec…
Browse files Browse the repository at this point in the history
… task, when the process returns non-zero exit code
  • Loading branch information
jaikiran committed Jan 3, 2024
1 parent 12cbc24 commit f229cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/org/apache/tools/ant/taskdefs/ExecTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ protected final void runExecute(Execute exe) throws IOException {
throw new BuildException(getTaskType() + " returned: "
+ returnCode, getLocation());
}
log("Result: " + returnCode, Project.MSG_ERR);
log("Result: " + returnCode, Project.MSG_INFO);
}
} else {
exe.spawn();
Expand Down

0 comments on commit f229cdd

Please sign in to comment.