Skip to content

Commit f229cdd

Browse files
committed
bz-26453 use INFO log level to print the result log message from exec task, when the process returns non-zero exit code
1 parent 12cbc24 commit f229cdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/org/apache/tools/ant/taskdefs/ExecTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ protected final void runExecute(Execute exe) throws IOException {
674674
throw new BuildException(getTaskType() + " returned: "
675675
+ returnCode, getLocation());
676676
}
677-
log("Result: " + returnCode, Project.MSG_ERR);
677+
log("Result: " + returnCode, Project.MSG_INFO);
678678
}
679679
} else {
680680
exe.spawn();

0 commit comments

Comments
 (0)