[Checkins] SVN: Sandbox/malthe/chameleon.zpt/src/chameleon/zpt/template.txt Improved error handling results in more detailed error messages.

Malthe Borch mborch at gmail.com
Wed Nov 5 11:38:53 EST 2008


Log message for revision 92801:
  Improved error handling results in more detailed error messages.

Changed:
  U   Sandbox/malthe/chameleon.zpt/src/chameleon/zpt/template.txt

-=-
Modified: Sandbox/malthe/chameleon.zpt/src/chameleon/zpt/template.txt
===================================================================
--- Sandbox/malthe/chameleon.zpt/src/chameleon/zpt/template.txt	2008-11-05 16:37:51 UTC (rev 92800)
+++ Sandbox/malthe/chameleon.zpt/src/chameleon/zpt/template.txt	2008-11-05 16:38:52 UTC (rev 92801)
@@ -80,6 +80,8 @@
   ... </div>""").render()
   Traceback (most recent call last):
     ...
+  RuntimeError: Caught exception rendering template.
+    ...
   TypeError: range expected at least 1 arguments, got 0
 
 Exception while evaluating definition:
@@ -91,6 +93,8 @@
   ... </div>""").render()
   Traceback (most recent call last):
     ...
+  RuntimeError: Caught exception rendering template.
+    ...
   TypeError: range expected at least 1 arguments, got 0
 
 Exception while evaluating interpolation:
@@ -102,4 +106,6 @@
   ... </div>""").render()
   Traceback (most recent call last):
     ...
+  RuntimeError: Caught exception rendering template.
+    ...
   TypeError: range expected at least 1 arguments, got 0



More information about the Checkins mailing list