1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +00:00

refactor(readability): use String explicitly in debug log instead of Any

This commit is contained in:
Frédéric Guillot 2025-07-19 10:55:17 -07:00
parent 410b43a787
commit f02213a168

View file

@ -94,8 +94,8 @@ func ExtractContent(page io.Reader) (baseURL string, extractedContent string, er
slog.Debug("Readability parsing",
slog.String("base_url", baseURL),
slog.Any("candidates", candidates),
slog.Any("topCandidate", topCandidate),
slog.String("candidates", candidates.String()),
slog.String("topCandidate", topCandidate.String()),
)
extractedContent = getArticle(topCandidate, candidates)