mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 21:07:48 +00:00
[all] Rename ZEIT Now to Vercel (#4112)
https://vercel.com/blog/zeit-is-now-vercel Co-authored-by: Nathan Rajlich <n@n8.io>
This commit is contained in:
@@ -8,10 +8,10 @@ async function fetchRetry (...args) {
|
||||
return await fetch(...args);
|
||||
} catch (error) {
|
||||
if (error.code === 'ENOTFOUND') {
|
||||
// getaddrinfo ENOTFOUND api.zeit.co like some transient dns issue
|
||||
// getaddrinfo ENOTFOUND api.vercel.com like some transient dns issue
|
||||
throw canRetry(error);
|
||||
} else if (error.code === 'ETIMEDOUT') {
|
||||
// request to https://api-gru1.zeit.co/v3/now/deployments/dpl_FBWWhpQomjgwjJLu396snLrGZYCm failed, reason:
|
||||
// request to https://api-gru1.vercel.com/v3/now/deployments/dpl_FBWWhpQomjgwjJLu396snLrGZYCm failed, reason:
|
||||
// connect ETIMEDOUT 18.228.143.224:443
|
||||
throw canRetry(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user