This commit is contained in:
Andreas Kotes 2014-03-31 23:26:47 +00:00
commit f62f10eea7

View file

@ -416,6 +416,9 @@ class ArticlesGenerator(Generator):
preread_sender=self,
context_signal=signals.article_generator_context,
context_sender=self)
except IndexError as e:
# Ignore empty files silently
continue
except Exception as e:
logger.warning('Could not process {}\n{}'.format(f, e))
continue
@ -535,6 +538,9 @@ class PagesGenerator(Generator):
preread_sender=self,
context_signal=signals.page_generator_context,
context_sender=self)
except IndexError as e:
# Ignore empty files silently
continue
except Exception as e:
logger.warning('Could not process {}\n{}'.format(f, e))
continue