Skip to content

Commit

Permalink
chore(containerbase): log details when no releases found (#23008)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Jun 27, 2023
1 parent 53263bb commit f017f05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util/exec/containerbase.ts
Expand Up @@ -268,6 +268,7 @@ export async function resolveConstraint(
const releases = pkgReleases?.releases ?? [];

if (!releases?.length) {
logger.warn({ toolConfig }, 'No tool releases found.');
throw new Error('No tool releases found.');
}

Expand Down

0 comments on commit f017f05

Please sign in to comment.