[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/HTTP - HTTPResponse.py:1.1.2.17

Casey Duncan casey@zope.com
Wed, 3 Apr 2002 15:43:43 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/HTTP
In directory cvs.zope.org:/tmp/cvs-serv365/lib/python/Zope/Publisher/HTTP

Modified Files:
      Tag: Zope-3x-branch
	HTTPResponse.py 
Log Message:
Zope configuration now uses Shane's nifty traceback supplements to sprinkle
helpful debug info into exceptions that occur during configuration processing,
rather than masking them with a single generic configuration exception. 

Exception formatting is now turned on during testing, and when config is run
at startup.


=== Zope3/lib/python/Zope/Publisher/HTTP/HTTPResponse.py 1.1.2.16 => 1.1.2.17 ===
         self.setStatus(tname)
 
-        tb = ''.join(format_exception(t, v, exc_info[2], 1))
+        tb = ''.join(format_exception(t, v, exc_info[2], as_html=1))
         body = self._html(title, "%s" % tb)
         self.setBody(body)