Skip to content

Commit

Permalink
Revert "improving logging for subcommand failure (bazel-contrib#3824)"
Browse files Browse the repository at this point in the history
This reverts commit 55ea579.
  • Loading branch information
rickystewart committed Mar 15, 2024
1 parent d2ae515 commit 0e7e4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/tools/builders/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func runAndLogCommand(cmd *exec.Cmd, verbose bool) error {
cleanup := passLongArgsInResponseFiles(cmd)
defer cleanup()
if err := cmd.Run(); err != nil {
return fmt.Errorf("error running subcommand %s: %w", formatCommand(cmd), err)
return fmt.Errorf("error running subcommand %s: %v", cmd.Path, err)
}
return nil
}
Expand Down

0 comments on commit 0e7e4e3

Please sign in to comment.