Error recovery
This commit is contained in:
parent
9e80c7e77f
commit
b3cc073231
@ -148,6 +148,7 @@ def spiderFeed(feed):
|
||||
xdoc.unlink()
|
||||
for filter in config.filters():
|
||||
output = shell.run(filter, output, mode="filter")
|
||||
if not output: return
|
||||
|
||||
# write out and timestamp the results
|
||||
write(output, cache_file)
|
||||
|
@ -36,8 +36,11 @@ def splice(configFile):
|
||||
|
||||
# insert entry information
|
||||
for mtime,file in dir[:items]:
|
||||
entry=minidom.parse(file)
|
||||
feed.appendChild(entry.documentElement)
|
||||
try:
|
||||
entry=minidom.parse(file)
|
||||
feed.appendChild(entry.documentElement)
|
||||
except:
|
||||
log.error("Error parsing %s", file)
|
||||
|
||||
# insert subscription information
|
||||
feed.setAttribute('xmlns:planet',planet.xmlns)
|
||||
|
Loading…
x
Reference in New Issue
Block a user