[Zope-Checkins] SVN: Zope/branches/2.9/ Issue #2189: logging of refresh error lost traceback.

Tres Seaver tseaver at palladion.com
Mon Sep 11 20:39:52 EDT 2006


Log message for revision 70104:
  Issue #2189:  logging of refresh error lost traceback.

Changed:
  U   Zope/branches/2.9/doc/CHANGES.txt
  U   Zope/branches/2.9/lib/python/App/RefreshFuncs.py

-=-
Modified: Zope/branches/2.9/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.9/doc/CHANGES.txt	2006-09-11 21:32:32 UTC (rev 70103)
+++ Zope/branches/2.9/doc/CHANGES.txt	2006-09-12 00:39:51 UTC (rev 70104)
@@ -8,6 +8,8 @@
 
    Bugs fixed
 
+      - Collector #2189: Fix logging of errors during product refresh.
+
       - Collector #2185: Log username for FCGI requests.
 
       - Collector #2152: Fixed MailHost documentation; simple_send does not

Modified: Zope/branches/2.9/lib/python/App/RefreshFuncs.py
===================================================================
--- Zope/branches/2.9/lib/python/App/RefreshFuncs.py	2006-09-11 21:32:32 UTC (rev 70103)
+++ Zope/branches/2.9/lib/python/App/RefreshFuncs.py	2006-09-12 00:39:51 UTC (rev 70104)
@@ -140,7 +140,7 @@
     exc = sys.exc_info()
     try:
         logger.error('Exception while refreshing %s'
-                      % productid, error=exc)
+                      % productid, exc_info=exc)
         if hasattr(exc[0], '__name__'):
             error_type = exc[0].__name__
         else:



More information about the Zope-Checkins mailing list