[Zope-DB] insert failing without raising exception: postgresql,
psycopg
Dieter Maurer
dieter at handshake.de
Wed Nov 23 17:36:04 EST 2005
freeman at tllc.com wrote at 2005-11-23 06:51 -0800:
> ...
>I regret that I have not yet learned how to "add logging" to
>ZPsycopgDA, and will appreciate learning how to do so.
It looks like this ("ZPsycopgDA/db.py"):
from zLOG import LOG, ERROR, INFO, PROBLEM
...
LOG('Postgres', INFO, summary, details)
> ...
>In the process I verified that insert exceptions are not
>currently noticed by zope, as I have it configured, while
>postgresql syntax errors are noticed by zope.
That would be a bug. Please contact the "psycopg" auther.
--
Dieter
More information about the Zope-DB
mailing list