Skip to content

Commit

Permalink
Don't error out if a single url not fetched (stashapp#4591)
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants authored and halkeye committed Sep 1, 2024
1 parent 6575ab6 commit f1c9ae9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/pkg/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"net/url"
"path/filepath"

"github.com/stashapp/stash/pkg/logger"
"github.com/stashapp/stash/pkg/models"
)

Expand Down Expand Up @@ -98,7 +99,8 @@ func (m *Manager) ListInstalledRemotes(ctx context.Context, installed LocalPacka
for _, remoteURL := range remoteURLs {
remoteList, err := m.ListRemote(ctx, remoteURL)
if err != nil {
return nil, err
logger.Warnf("error listing remote package %s: %v", remoteURL, err)
continue
}

allRemoteList.merge(remoteList)
Expand Down

0 comments on commit f1c9ae9

Please sign in to comment.