show better error message for proxy users

This will hopefully enable the npm users behind a proxy to help
themselves in case of a proxy/network issue.
This commit is contained in:
Robert Kowalski
2013-07-24 22:44:10 +02:00
parent e421c1f764
commit c8f4100cdb

View File

@@ -225,6 +225,7 @@ function errorHandler (er) {
break
case "ENOTFOUND":
case "ETIMEDOUT":
log.error("network", [er.message
,"This is most likely not a problem with npm itself"
,"and is related to network connectivity."