mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fix a bug in the exception handler for a page reader
This commit is contained in:
parent
b3b0af5a45
commit
6ca3fd423b
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