[Zope-Checkins] CVS: Zope/lib/python/Zope/App - startup.py:1.8.2.2
Shane Hathaway
shane at zope.com
Tue Sep 16 13:50:03 EDT 2003
Update of /cvs-repository/Zope/lib/python/Zope/App
In directory cvs.zope.org:/tmp/cvs-serv1184
Modified Files:
Tag: Zope-2_7-branch
startup.py
Log Message:
Merged correct error reporting from the head.
An unrelated "AttributeError: __error_log__" was being reported
instead of the real error condition.
=== Zope/lib/python/Zope/App/startup.py 1.8.2.1 => 1.8.2.2 ===
--- Zope/lib/python/Zope/App/startup.py:1.8.2.1 Mon Jul 21 12:37:44 2003
+++ Zope/lib/python/Zope/App/startup.py Tue Sep 16 13:50:02 2003
@@ -169,7 +169,8 @@
error_log_url = log.raising((t, v, traceback))
if (getattr(REQUEST.get('RESPONSE', None), '_error_format', '')
- !='text/html'): raise
+ !='text/html'):
+ raise t, v, traceback
if (published is None or published is app or
type(published) is ListType):
@@ -184,7 +185,8 @@
f=getattr(published, 'raise_standardErrorMessage', None)
if f is None:
published=getattr(published, 'aq_parent', None)
- if published is None: raise
+ if published is None:
+ raise t, v, traceback
else:
break
@@ -193,7 +195,8 @@
if getattr(client, 'standard_error_message', None) is not None:
break
client=getattr(client, 'aq_parent', None)
- if client is None: raise
+ if client is None:
+ raise t, v, traceback
if REQUEST.get('AUTHENTICATED_USER', None) is None:
REQUEST['AUTHENTICATED_USER']=AccessControl.User.nobody
More information about the Zope-Checkins
mailing list