x/tools/gopls: panic with invalid go.mod entry #35599
I was playing around with my go.mod for personal reasons and had left it with an invalid "require":
gopls panics on startup after the "go list" error.
The text was updated successfully, but these errors were encountered:
Rather than panicking when we have not created any views for the packages, we should show a reasonable error to the user. This change propagates the errors to the user. Updates golang/go#35599 Change-Id: I49789d8ce18e154f111bc3584488f468a129e30c Reviewed-on: https://go-review.googlesource.com/c/tools/+/207344 Run-TryBot: Rebecca Stambler <email@example.com> TryBot-Result: Gobot Gobot <firstname.lastname@example.org> Reviewed-by: Michael Matloob <email@example.com>