[Zope-Checkins] CVS: Zope/lib/python/OFS - SimpleItem.py:1.100
Shane Hathaway
shane@cvs.zope.org
Wed, 12 Jun 2002 14:34:18 -0400
Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv24949
Modified Files:
SimpleItem.py
Log Message:
Reduced the severity of errors in standard_error_message to "blather".
=== Zope/lib/python/OFS/SimpleItem.py 1.99 => 1.100 ===
from zExceptions.ExceptionFormatter import format_exception
import time
-from zLOG import LOG, ERROR
+from zLOG import LOG, BLATHER
import marshal
import ZDOM
@@ -209,7 +209,8 @@
else:
v = HTML.__call__(s, client, REQUEST, **kwargs)
except:
- LOG('OFS', ERROR, 'Exception while rendering an error message',
+ LOG('OFS', BLATHER,
+ 'Exception while rendering an error message',
error=sys.exc_info())
try:
strv = str(error_value)