fix error reporting in Syndicated Content
This commit is contained in:
parent
b89bb0740e
commit
c7c4b8aecd
1 changed files with 3 additions and 3 deletions
|
|
@ -151,9 +151,9 @@ sub generateFeed {
|
|||
my $singleFeed = XML::FeedPP->new($value, utf8_flag => 1);
|
||||
$feed->merge($singleFeed);
|
||||
};
|
||||
if (my $e = WebGUI::Error->caught()) {
|
||||
$log->error("Syndicated Content asset (".$self->getId.") has a bad feed URL (".$url."). Failed with ".$e->message);
|
||||
}
|
||||
if ($@) {
|
||||
$log->error("Syndicated Content asset (".$self->getId.") has a bad feed URL (".$url."). Failed with ".$@);
|
||||
}
|
||||
}
|
||||
|
||||
# build a new feed that matches the term the user is interested in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue