From 8fd0b6058bcd9a80c51f09c781b456433973ddb6 Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Tue, 21 Jan 2020 13:07:25 +0100 Subject: [PATCH] fix(helm): ignore unsupported protocol error --- lib/datasource/helm/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/datasource/helm/index.ts b/lib/datasource/helm/index.ts index 8552b09cb6..874e8bf162 100644 --- a/lib/datasource/helm/index.ts +++ b/lib/datasource/helm/index.ts @@ -38,6 +38,11 @@ export async function getRepositoryData( logger.warn({ err }, `${repository} server error`); throw new Error(DATASOURCE_FAILURE); } + // istanbul ignore if + if (err.name === 'UnsupportedProtocolError') { + logger.info({ repository }, 'Unsupported protocol'); + return null; + } logger.warn({ err }, `${repository} lookup failure: Unknown error`); return null; } -- GitLab