Add the Reddit URL being refreshed to the skip reason message.

This commit is contained in:
Brent Simmons committed 2026-06-28 11:00:12 -07:00
1 parent 80a090c5b9
commit 88aa601609
1 file changed
+5 -1
@@ -496,7 +496,11 @@ private extension LocalAccountRefresher {
if feed.url == redditURLToRefresh {
return (false, nil)
}
return (true, "Skipped — Reddit allows only one feed per refresh")
var reason = "Skipped — Reddit allows only one feed per refresh"
if let redditURLToRefresh {
reason += " — refreshing \(redditURLToRefresh) this time"
}
return (true, reason)
}
static func feedShouldBeSkippedForDisallowedHostReasons(_ feed: Feed) -> (Bool, String?) {