Skip to content

Commit

Permalink
🐛Fix atom feed fetching crash
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkulman committed Aug 4, 2024
1 parent fe15c8c commit 2a8052a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sources/Features/Sources/Features/Feed/Services/Feed.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ extension Feed {
if let atomItems = feed.atomFeed?.entries?.compactMap({ RssItem(item: $0) }) {
Logger.feed.debug("Got \(atomItems.count) Atom items")
continuation.resume(returning: atomItems)
return
}

Logger.feed.error("RSS Feed return no items")
Expand Down

0 comments on commit 2a8052a

Please sign in to comment.