Skip to content

Commit

Permalink
fix(helm): ignore unsupported protocol error
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jan 21, 2020
1 parent cf4fc1e commit 8fd0b60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/datasource/helm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8fd0b60

Please sign in to comment.