[Checkins] SVN: zope.publisher/branches/unauth-exc-handler/src/zope/publisher/publish.py Be more verbose.

Uli Fouquet uli at gnufix.de
Mon Jul 6 11:37:25 EDT 2009


Log message for revision 101628:
  Be more verbose.
  

Changed:
  U   zope.publisher/branches/unauth-exc-handler/src/zope/publisher/publish.py

-=-
Modified: zope.publisher/branches/unauth-exc-handler/src/zope/publisher/publish.py
===================================================================
--- zope.publisher/branches/unauth-exc-handler/src/zope/publisher/publish.py	2009-07-06 15:34:59 UTC (rev 101627)
+++ zope.publisher/branches/unauth-exc-handler/src/zope/publisher/publish.py	2009-07-06 15:37:25 UTC (rev 101628)
@@ -143,6 +143,8 @@
                                 obj, request, exc_info, True)
 
                             if not handle_errors:
+                                # Reraise only if there is no adapter
+                                # indicating that we shouldn't
                                 reraise = component.queryAdapter(
                                     exc_info[1], IReRaiseException,
                                     default=None)



More information about the Checkins mailing list