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:

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

Reply via email to