1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

refactor(finder): change log message to be more meaningful

This commit is contained in:
Frédéric Guillot 2025-09-12 17:53:15 -07:00
parent 11c706f9db
commit 34ee04794d

View file

@ -281,7 +281,7 @@ func (f *subscriptionFinder) findSubscriptionsFromYouTube(websiteURL string) (Su
}
if !strings.HasSuffix(decodedURL.Host, "youtube.com") {
slog.Debug("This website isn't on the youtube domain.", slog.String("website_url", websiteURL))
slog.Debug("YouTube feed discovery skipped: not a YouTube domain", slog.String("website_url", websiteURL))
return nil, nil
}
if _, channelID, found := strings.Cut(decodedURL.Path, "channel/"); found {