mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +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;
|
return null;
|
||||||
}
|
}
|
||||||
// istanbul ignore if
|
// 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');
|
logger.debug({ err }, 'Could not connect to helm repository');
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue