[Zope] get_transaction().commit() exceptions
Tim Edwards
Tim.Edwards at hwe.com.au
Wed Sep 1 20:20:09 EDT 2004
Hi,
We are using MailManager from logicalware
(http://mailmanager.sourceforge.net/). This application stores its data as
objects in the ZODB.
A seperate thread checks the email server and saves new tickets (emails) to
the ZODB. This mail-checking thread somtimes gets ConflictError at the call
to get_transaction().commit(). This exception goes unhandled and the
mail-checking thread dies. This means that the product will still work - it
just won't retreive any email messages.
Is it a good idea to try and catch this exception? If so what should we do
with it? will catching it stop the mail-checking thread from dying?
Thanks
Tim Edwards
Analyst Programmer
Henry Walker Eltin
Phone: 02 9887 6393
Email: tim.edwards at hwe.com.au
More information about the Zope
mailing list