Skip to content

Commit

Permalink
fix(datasource): add warning when unable to find datasource (#20805)
Browse files Browse the repository at this point in the history
Co-authored-by: Rhys Arkins <rhys@arkins.net>
  • Loading branch information
HenrikPoulsen and rarkins committed Mar 8, 2023
1 parent 045780f commit d5ece8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/modules/datasource/index.ts
Expand Up @@ -278,6 +278,7 @@ async function fetchReleases(
const datasource = getDatasourceFor(datasourceName);
// istanbul ignore if: needs test
if (!datasource) {
logger.warn({ datasource: datasourceName }, 'Unknown datasource');
return null;
}
registryUrls = resolveRegistryUrls(
Expand Down

0 comments on commit d5ece8b

Please sign in to comment.