diff --git a/src/index.js b/src/index.js index a7d5208..9fc9953 100644 --- a/src/index.js +++ b/src/index.js @@ -25,7 +25,8 @@ function shouldRetry (err, res, allowedStatuses) { 'ECONNRESET', 'ETIMEDOUT', 'EADDRINFO', - 'ESOCKETTIMEDOUT' + 'ESOCKETTIMEDOUT', + 'ENOTFOUND' ] if (err && err.code && ~ERROR_CODES.indexOf(err.code)) {