[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ErrorReportingService - ErrorReportingService.py:1.5
   
    Naveen P
     
    pnaveen@zeomega.com
       
    Wed, 23 Oct 2002 14:18:28 -0400
    
    
  
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ErrorReportingService
In directory cvs.zope.org:/tmp/cvs-serv25185
Modified Files:
	ErrorReportingService.py 
Log Message:
'Unauthorized' exception handled.
=== Zope3/lib/python/Zope/App/OFS/Services/ErrorReportingService/ErrorReportingService.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ErrorReportingService/ErrorReportingService.py:1.4	Wed Oct 23 12:00:19 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ErrorReportingService/ErrorReportingService.py	Wed Oct 23 14:18:28 2002
@@ -106,8 +106,10 @@
                 req_html = None
                 if request:
                     url = request.URL
-                    username = request.user.getLogin()+','+\
-                      request.user.getId()+','+request.user.getTitle()+','+request.user.getDescription()
+                    try:
+                       username = request.user.getLogin()+','+ request.user.getId()+','+request.user.getTitle()+','+request.user.getDescription()
+                    except:
+                        pass
                     try:
                         req_html = self._makestr(request)
                     except: