mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
fix(helm): gracefully handle ETIMEDOUT
This commit is contained in:
parent
b085654493
commit
b74a491b4f
1 changed files with 5 additions and 1 deletions
|
@ -40,7 +40,11 @@ export async function getRepositoryData(
|
|||
return null;
|
||||
}
|
||||
// istanbul ignore if
|
||||
if (err.code === 'ENOTFOUND' || err.code === 'EAI_AGAIN') {
|
||||
if (
|
||||
err.code === 'ENOTFOUND' ||
|
||||
err.code === 'EAI_AGAIN' ||
|
||||
err.code === 'ETIMEDOUT'
|
||||
) {
|
||||
logger.debug({ err }, 'Could not connect to helm repository');
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue