]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modload: remove printStackInDie functionality
authorJay Conrod <jayconrod@google.com>
Mon, 19 Oct 2020 18:02:14 +0000 (14:02 -0400)
committerJay Conrod <jayconrod@google.com>
Tue, 20 Oct 2020 18:46:31 +0000 (18:46 +0000)
commite2c420591cbbd684594a111fa5cdeb40c68964a5
tree46d1377f47d6eb028c252dbc17f416b58c3f65cf
parent1b09d430678d4a6f73b2443463d11f75851aba8a
cmd/go/internal/modload: remove printStackInDie functionality

Previously, when running cmd/go tests, if the module root directory is
requested when modules are explicitly disabled, we printed a stack
trace in addition to the error message that's normally printed. The
stack trace isn't that useful, and it makes the actual error hard to
find.

Change-Id: I8230d668f3f16659f08d0d685124c41b4055c5b9
Reviewed-on: https://go-review.googlesource.com/c/go/+/263659
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/modload/build.go
src/cmd/go/internal/modload/init.go
src/cmd/go/internal/modload/testgo.go [deleted file]