[Zope] Problem with saving error_message to db

Jens Grewen zope@grewen.de
Fri, 1 Mar 2002 21:33:53 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0012_01C1C168.C8D29CD0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I want to save the error_message and/or the error_type/error_value to a =
connected Interbase DB.
When an error is raised I call an sqlmethod from the =
standard_error_messege that should save the error_messeg to Interbase.
The problem is that the transaction of the sql method probably rolles =
back because it is called from standard_error_message.
Is there a way to submit the error_message. (commit the transaction)


Thanks in advance

Jens

------=_NextPart_000_0012_01C1C168.C8D29CD0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I want to save the error_message and/or =
the=20
error_type/error_value to a connected Interbase DB.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>When an error is raised I call an =
sqlmethod from=20
the standard_error_messege that should save the error_messeg to=20
Interbase.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The problem is that the transaction of =
the sql=20
method probably rolles back because it is called=20
from&nbsp;standard_error_message.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is there a way to submit the =
error_message. (commit=20
the transaction)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jens</FONT></DIV></BODY></HTML>

------=_NextPart_000_0012_01C1C168.C8D29CD0--