[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/error/error.py
Marked a bare except.
Gintautas Miliauskas
gintas at pov.lt
Fri May 20 04:21:15 EDT 2005
Log message for revision 30456:
Marked a bare except.
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 07:41:14 UTC (rev 30455)
+++ Zope3/trunk/src/zope/app/error/error.py 2005-05-20 08:21:14 UTC (rev 30456)
@@ -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:
+ except: # XXX Yikes, a bare except!
logging.getLogger('SiteError').exception(
'Error in ErrorReportingUtility while getting a str '
'representation of an object')
More information about the Zope3-Checkins
mailing list