[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/error/error.py Umm,
where are those glasses of mine?
Gintautas Miliauskas
gintas at pov.lt
Fri May 20 04:25:43 EDT 2005
Log message for revision 30457:
Umm, where are those glasses of mine?
Changed:
U Zope3/trunk/src/zope/app/error/error.py
-=-
Modified: Zope3/trunk/src/zope/app/error/error.py
===================================================================
--- Zope3/trunk/src/zope/app/error/error.py 2005-05-20 08:21:14 UTC (rev 30456)
+++ Zope3/trunk/src/zope/app/error/error.py 2005-05-20 08:25:43 UTC (rev 30457)
@@ -130,7 +130,7 @@
# A call to str(obj) could raise anything at all.
# We'll ignore these errors, and print something
# useful instead, but also log the error.
- except: # XXX Yikes, a bare except!
+ except:
logging.getLogger('SiteError').exception(
'Error in ErrorReportingUtility while getting a str '
'representation of an object')
More information about the Zope3-Checkins
mailing list