Skip to content

Commit

Permalink
Fix container builds logging info as error on Linux (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbsox authored Oct 5, 2023
1 parent 552b755 commit 662a58e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,11 @@ public void run() {
Thread logCopyErrorThread = new Thread(new Runnable() {
@Override
public void run() {
firstErrorLine.append(copyStreamToBuildLog(startingProcess.getErrorStream(), false));
if (OSUtil.isLinux() && !isDocker) {
firstErrorLine.append(copyStreamToBuildLog(startingProcess.getErrorStream(), true));
} else {
firstErrorLine.append(copyStreamToBuildLog(startingProcess.getErrorStream(), false));
}
}
});
logCopyErrorThread.start();
Expand Down

0 comments on commit 662a58e

Please sign in to comment.