Skip to content

go.environment.choose command fails when there is no network #438

@hyangah

Description

@hyangah

How to reproduce

  • Disable the network
  • Select the Go status bar
  • Warning prompt ("getaddrinfo ENOTFOUND golang.org") will popup.

This is because the command tries to retrieve the available Go version list from golang.org/dl but fails.
There is no reason to disable this feature because we don't have the list of available go versions.
In case of network failure, just list locally available Go versions.

/cc @mcjcloud

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions