mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
Don't error out if a single url not fetched (#4591)
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"net/url"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/stashapp/stash/pkg/logger"
|
||||
"github.com/stashapp/stash/pkg/models"
|
||||
)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user