cmd/go: make go mod download -json return the exit status 0 in case of errors #36833
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes. But at least with
go1.14beta1
go mod download -json
does not print debug message on stderr.What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
In case of errors, the process exit status will be
1
, making it more complex to handle thego mod download
output.go mod download -json
should return an exit status0
in case of errors, the same asgo list -m -e -json
.The text was updated successfully, but these errors were encountered: