added logging

This commit is contained in:
JT Smith 2009-09-27 17:33:46 -05:00
parent d399f23baf
commit 2a94b0806c
4 changed files with 54 additions and 27 deletions

View file

@ -144,7 +144,7 @@ sub generateFeed {
}
my $value = eval{$cache->get($url)};
unless ($value) {
$value = eval{$cache->setByHttp($url, $url, $self->get("cacheTimeout"))};
$value = eval{$cache->setByHttp($url, $self->get("cacheTimeout"))};
$newlyCached = 1;
}
# if the content can be downgraded, it is either valid latin1 or didn't have