Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/packages: avoid logging context canceled error
If the context is canceled for packages.Load, the following log message is written numerous times (spammed) to stderr: internal error: error "context canceled" (*errors.errorString) without position Check if the error is context.Canceled and don't log it if so. The error will still be recorded in lpkg.Errors. Signed-off-by: Christian Stewart <christian@aperture.us>
- Loading branch information