Commit 7487880c authored by Chris Withers's avatar Chris Withers

continue whack-a-mole'ing useless pagetemplate errors.

parent f13e2637
...@@ -131,7 +131,11 @@ class PageTemplate(Base): ...@@ -131,7 +131,11 @@ class PageTemplate(Base):
self._cook() self._cook()
if self._v_errors: if self._v_errors:
__traceback_supplement__ = (PageTemplateTracebackSupplement, self) __traceback_supplement__ = (PageTemplateTracebackSupplement, self)
raise PTRuntimeError, 'Page Template %s has errors.' % self.id raise PTRuntimeError, (
'Page Template %s has errors: %s' % (
self.id,
self._v_errors
))
return self._v_macros return self._v_macros
def pt_source_file(self): def pt_source_file(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment