diff --git a/lib/Rss2Html/Feed.pm b/lib/Rss2Html/Feed.pm index 2dfee43..a77d918 100644 --- a/lib/Rss2Html/Feed.pm +++ b/lib/Rss2Html/Feed.pm @@ -135,7 +135,7 @@ sub update { $atomfeed = $api->getFeed($self->{url}); } catch { $self->log->error("error fetching $self->{url}: $@"); - } + }; if ($atomfeed) { my @items = $atomfeed->entries; for my $item (@items) {