diff options
Diffstat (limited to 'deps/npm/lib/utils/error-handler.js')
-rw-r--r-- | deps/npm/lib/utils/error-handler.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/npm/lib/utils/error-handler.js b/deps/npm/lib/utils/error-handler.js index 32b0506435..8637592ab1 100644 --- a/deps/npm/lib/utils/error-handler.js +++ b/deps/npm/lib/utils/error-handler.js @@ -224,7 +224,9 @@ function errorHandler (er) { log.error("peerinvalid", [er.message].concat(peerErrors).join("\n")) break + case "ECONNRESET": 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." |