Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't continue checking a non-existant feed for a package #11252

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brettfo
Copy link
Contributor

@brettfo brettfo commented Jan 8, 2025

Issue found when scanning internal logs.

If a feed is specified with an internal-only URL, checking that feed for possible updates will obviously fail. We don't want to fail the entire update process, though, because it's entirely possible for a repo to list both public and internal feeds and to only want dependabot to run for public packages.

The fix is to broaden the scope of the try block so that if fetching the service index fails, we simply continue onto the next source.

@brettfo brettfo requested a review from a team as a code owner January 8, 2025 20:26
@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant