1
0
mirror of https://github.com/golang/go synced 2024-11-19 07:04:43 -07:00
go/internal/lsp/debug
Rebecca Stambler 44a64ad78b internal/lsp, go/packages: don't log context cancellation errors
Instead of checking the context, check the error. This may expose some
errors that are not wrapped correctly. Replaced all uses of errors
with golang.org/x/xerrors.

Change-Id: Ia40160f8ea352e02618765f2a9415a4ece0dcd94
Reviewed-on: https://go-review.googlesource.com/c/tools/+/227036
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-04-03 19:08:13 +00:00
..
tag internal/telemetry: switch metrics to use the event system 2020-03-23 14:44:30 +00:00
info.1.11.go internal/lsp/debug: add newlines to debug messages 2019-06-12 17:36:44 +00:00
info.1.12.go internal/lsp/debug: add newlines to debug messages 2019-06-12 17:36:44 +00:00
info.go internal/lsp: print view-specific environment 2020-03-24 20:15:47 +00:00
metrics.go internal/telemetry: make metrics take a strongly typed key 2020-03-26 17:45:58 +00:00
rpc.go internal/lsp: rewrite the stats using the newer telemetry features 2020-03-31 00:50:33 +00:00
serve_test.go internal/lsp/debug: move all debug state onto the Instance 2020-02-24 22:50:47 +00:00
serve.go internal/lsp, go/packages: don't log context cancellation errors 2020-04-03 19:08:13 +00:00
trace.go internal/telemetry: add a synchronization to telemetry 2020-03-30 19:15:27 +00:00