Transaction has the following method:

        def setErrorOccurred(self, flag):
                ''' Invoked by the application if an exception is raised to the 
application level. '''
                self._errorOccurred = flag
                self._servlet = None


I'm made a subtle change which is to remove the:
        self._servlet = None

Which was added by Jay way back when under the cvs log msg "general 
cleanup".

I need the transaction to know it's servlet, because in my current 
application, I am implementing a custom exception handler to do some 
additional application specific logging and the information comes from 
the servlet.

An FYI in case this causes weirdness for anyone. But as far as I know, 
it works fine.

-Chuck

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to