- Made exipred sessions workflow activity more fault tollerant.

- Made rss fetching more fault tollerant.
This commit is contained in:
JT Smith 2007-02-01 00:26:15 +00:00
parent e1bd43b02e
commit caf859129d
3 changed files with 9 additions and 3 deletions

View file

@ -91,8 +91,8 @@ sub execute {
# May need to fix this in the future.
my $returnValue = WebGUI::Asset::Wobject::SyndicatedContent::_get_rss_data($self->session, $url);
unless (defined $returnValue) {
$self->session->errorHandler->error("GetSyndicatedContent Workflow Activity: _get_rss_data returned undef while trying to process syndicated content url $url");
return $self->ERROR;
$self->session->errorHandler->error("GetSyndicatedContent Workflow Activity: _get_rss_data returned undef while trying to process syndicated content url $url, which usually indicates an improper URL, or a malformed document");
next;
}
}