1
0
Fork 0
forked from github/pelican

Inconsistent warning/error, pages failing switched to warning.

Fixes #397
This commit is contained in:
tBunnyMan 2012-07-11 21:04:01 -07:00
commit 3c5f6e1887

View file

@ -368,7 +368,7 @@ class PagesGenerator(Generator):
try:
content, metadata = read_file(f)
except Exception, e:
logger.error(u'Could not process %s\n%s' % (f, str(e)))
logger.warning(u'Could not process %s\n%s' % (f, str(e)))
continue
page = Page(content, metadata, settings=self.settings,
filename=f)