mirror of
https://github.com/golang/go
synced 2024-11-18 18:14:43 -07:00
a7c0594f4e
This change adds a helper function that checks if the context is canceled, and if so, doesn't log the error. Tried to use it everywhere in internal/lsp where it fits, which resulted in changing a few pieces of error handling throughout. Updates golang/go#37875 Change-Id: I59cbc6f893e3b70cf84524d9944ff7f4b4febd78 Reviewed-on: https://go-review.googlesource.com/c/tools/+/226371 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
analysis.go | ||
cache.go | ||
check.go | ||
debug.go | ||
error_test.go | ||
errors.go | ||
external.go | ||
load.go | ||
mod.go | ||
os_darwin.go | ||
os_windows.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view_test.go | ||
view.go |