[Twisted-Python] Re: catching adbapi 'thread' failures
Tsai Li Ming
mailinglist at ltsai.com
Thu Aug 19 10:08:29 EDT 2004
Clark C. Evans wrote:
> Ahh, right "log.deferr()". Glad to see this is taken out, lots of
> 'SQL' errors which are not application errors. Thanks.
> On Wed, Aug 18, 2004 at 09:52:01PM -0700, Dave Peticolas wrote:
> | adbapi used to log failures before throwing them back.
> | This may be what you are seeing.
> | dave
What do you mean by taken out? I'm still seeing it in adapi.py:
def _runInteraction(self, interaction, *args, **kw):
trans = Transaction(self, self.connect())
result = interaction(trans, *args, **kw)
log.msg('Exception in SQL interaction. Rolling back.')
I'm using twisted 1.3.0
More information about the Twisted-Python