Re: [Zope] how to get details of sql.error ?
10 Dec
1999
10 Dec
'99
2:13 a.m.
Christopher Petrilli wrote On 12/9/99 3:15 PM, Nitin Borwankar at nitin@borwankar.com wrote: I am getting a vanilla sql.error message from Zope when testing a ZSQL method The ZSQL method is a single insert statement without any dtml-try/except wrapper. How do I get Zope to be a little more verbose about waht the problem is
What DA are you using, this is up to the DA to throw genearlly.
However, most don't - I've patched both dcOracle and dcSybase to throw the exception with a third arg, the sql command. I'm pretty sure patches are in the Collector. Anthony -- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
9614
Age (days ago)
9614
Last active (days ago)
0 comments
1 participants
participants (1)
-
Anthony Baxter