cli/cmd/gh
Mislav Marohnić 537b0a8429 Friendlier output for network connectivity errors
For `net.DNSError`, the full error message can be scary. Instead, print "error
connecting to HOST" and hint that the user should check their internet connection
or githubstatus.com.

When $DEBUG is set, the full DNS error is printed like before.

Fixes #206
2020-01-23 12:48:10 +01:00
..
main.go Friendlier output for network connectivity errors 2020-01-23 12:48:10 +01:00
main_test.go Friendlier output for network connectivity errors 2020-01-23 12:48:10 +01:00