Log message for revision 40481:
  continue whack-a-mole'ing useless pagetemplate errors.
  

Changed:
  U   Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplate.py

-=-
Modified: Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplate.py
===================================================================
--- Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplate.py 
2005-12-02 15:58:14 UTC (rev 40480)
+++ Zope/branches/2.9/lib/python/Products/PageTemplates/PageTemplate.py 
2005-12-02 16:24:21 UTC (rev 40481)
@@ -131,7 +131,11 @@
             self._cook()
         if self._v_errors:
             __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
 
     def pt_source_file(self):

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to