[Zope-Checkins] CVS: Zope/lib/python/Products/SiteErrorLog - SiteErrorLog.py:1.7
Shane Hathaway
shane@cvs.zope.org
Wed, 22 May 2002 11:14:14 -0400
Update of /cvs-repository/Zope/lib/python/Products/SiteErrorLog
In directory cvs.zope.org:/tmp/cvs-serv32504
Modified Files:
SiteErrorLog.py
Log Message:
Don't fail if no URL is available.
=== Zope/lib/python/Products/SiteErrorLog/SiteErrorLog.py 1.6 => 1.7 ===
req_html = None
if request:
- url = request['URL']
+ url = request.get('URL', '?')
username = getSecurityManager().getUser().getUserName()
try:
req_html = str(request)