[Zope] ZSQL Errors
Colin Fox
cfox@crystalcherry.com
18 Mar 2002 19:50:42 -0800
--=-blIKmt+q97cHWjoSe7gh
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
I'm developing a zope app that uses an external database (Postgres) for
its back end. It works great when it's working, but if there's an error,
I don't know how to print the error message.
I can't find any documentation on how to get the sql error that was
generated by the database. That makes debugging very time consuming.
The only example I could find just uses a generic dtml exception
handler, which doesn't print the error string.
Does anyone have any docs/examples on this?
Thanks!
--=20
Colin Fox cfox@crystalcherry.com
CF Consulting Inc. GPG Fingerprint:
D8F0 84E7 E7CC 5C6C 9982 F1A7 A3EB 6EA3 BC97 572F
--=-blIKmt+q97cHWjoSe7gh
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQA8lrWSo+tuo7yXVy8RAm2+AJ9WMS49zoUG0vgp5L9U0qxIm4a60gCeJ09c
gamsS/aA/fY+6B7pQ71qkXQ=
=Dj8O
-----END PGP SIGNATURE-----
--=-blIKmt+q97cHWjoSe7gh--