[Zope] Z SQL Method Trace

Chien-pin Wang cpw@suprize.com
Wed, 26 Apr 2000 11:59:25 +0800


Hi,

    When there are errors in a Z SQL Method, a normal Zope trace stack
is printed along with error message from database. I wonder if there
is a way to let the error trace also prints out the SQL statememt that
was sent in. Without the statement, debugging is very tedious since
most of the time the errors are variable binding issues. I'm running
Zope 2.1.6 on Red Hat Linux against Oracle 8.0.5 using ZOracleDA.
Thanks a lot in advance!

Chien-pin