mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #200 from kylef/except
Fix a bug in the exception handler for a page reader
This commit is contained in:
commit
501e1b8524
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ class PagesGenerator(Generator):
|
|||
try:
|
||||
content, metadata = read_file(f)
|
||||
except Exception, e:
|
||||
error(u'Could not process %s\n%s' % (filename, str(e)))
|
||||
error(u'Could not process %s\n%s' % (f, str(e)))
|
||||
continue
|
||||
page = Page(content, metadata, settings=self.settings,
|
||||
filename=f)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue