mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Error logging improvements (#3768)
* Improve auto-tag error messages * Ignore another context canceled error * Ignore more graphql context canceled errors
This commit is contained in:
@@ -664,7 +664,7 @@ func performerFragmentToScrapedScenePerformer(p graphql.PerformerFragment) *mode
|
||||
|
||||
func getFirstImage(ctx context.Context, client *http.Client, images []*graphql.ImageFragment) *string {
|
||||
ret, err := fetchImage(ctx, client, images[0].URL)
|
||||
if err != nil {
|
||||
if err != nil && !errors.Is(err, context.Canceled) {
|
||||
logger.Warnf("Error fetching image %s: %s", images[0].URL, err.Error())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user