2012-07-17 | Paul Boddie | raw files shortlog changelog graph | Handle error conditions by skipping unretrievable resources. | |
EventAggregatorSupport.py (file) |
1.1 --- a/EventAggregatorSupport.py Tue Jul 17 00:22:30 2012 +0200 1.2 +++ b/EventAggregatorSupport.py Tue Jul 17 00:29:56 2012 +0200 1.3 @@ -1050,6 +1050,8 @@ 1.4 1.5 max_cache_age = int(getattr(request.cfg, "event_aggregator_max_cache_age", "300")) 1.6 data = getCachedResource(request, url, "EventAggregator", "wiki", max_cache_age) 1.7 + if not data: 1.8 + continue 1.9 1.10 # Process the entry, parsing the content. 1.11