[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/App/RefreshFuncs.py fixed logger call

Andreas Jung andreas at andreas-jung.com
Fri Nov 17 10:57:15 EST 2006


Log message for revision 71156:
  fixed logger call
  

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

-=-
Modified: Zope/branches/2.9/lib/python/App/RefreshFuncs.py
===================================================================
--- Zope/branches/2.9/lib/python/App/RefreshFuncs.py	2006-11-17 15:55:05 UTC (rev 71155)
+++ Zope/branches/2.9/lib/python/App/RefreshFuncs.py	2006-11-17 15:57:14 UTC (rev 71156)
@@ -140,7 +140,7 @@
     exc = sys.exc_info()
     try:
         logger.error('Exception while refreshing %s'
-                      % productid, exc_info=exc)
+                      % productid, exc_info=True)
         if hasattr(exc[0], '__name__'):
             error_type = exc[0].__name__
         else:



More information about the Zope-Checkins mailing list