Skip to content
Snippets Groups Projects
Commit 8fd0b605 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(helm): ignore unsupported protocol error

parent cf4fc1ee
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment