summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/feed2imap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/feed2imap.rb b/lib/feed2imap/feed2imap.rb
index f1bc9cd..7ec355c 100644
--- a/lib/feed2imap/feed2imap.rb
+++ b/lib/feed2imap/feed2imap.rb
@@ -223,7 +223,7 @@ class Feed2Imap
next
end
begin
- feed = FeedParser::Feed::new(f.body.force_encoding('UTF-8'))
+ feed = FeedParser::Feed::new(f.body.force_encoding('UTF-8'), f.url)
rescue Exception
n = @cache.parse_failed(f.name)
m = "Error while parsing #{f.name}: #{$!} (failed #{n} times)"