mirror of
https://github.com/golang/go
synced 2024-11-18 11:04:42 -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> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
span | ||
telemetry | ||
testenv | ||
tool | ||
xcontext |