From 5e0ac8c13ea6ea65731fcc0d894be0996cd81311 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Sat, 11 Jan 2020 10:41:32 +0100 Subject: [PATCH] fix(helm): handle err.code === 'ENOTFOUND' --- lib/datasource/helm/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datasource/helm/index.ts b/lib/datasource/helm/index.ts index b5aae995a7..5913f5ca3f 100644 --- a/lib/datasource/helm/index.ts +++ b/lib/datasource/helm/index.ts @@ -22,7 +22,7 @@ export async function getRepositoryData( } } catch (err) { // istanbul ignore if - if (err.code === 'EAI_AGAIN') { + if (err.code === 'ENOTFOUND' || err.code === 'EAI_AGAIN') { logger.info({ err }, 'Could not connect to helm repository'); return null; } -- GitLab