[Twisted-Python] exceptions in adbapi

Bob Ippolito bob at redivi.com
Tue Jul 12 07:09:24 EDT 2005

On Jul 11, 2005, at 9:14 PM, <Henning.Ramm at mediapro-gmbh.de>  
<Henning.Ramm at mediapro-gmbh.de> wrote:

>>> Any hints?
>> These exceptions are happening in your Deferred callbacks. You  
>> need to
>> attach an error handler (the asynchronous counterpart to an except:
>> clause) to the deferred you get back as a result of your adbapi call.
> Sure, that's what I do everywhere where I see a Deferred.
> But they don't catch these exceptions anyway.

errbacks catch exceptions attached to deferreds.  There are no  
exceptions that will skip over errbacks.  If your errbacks are not  
being triggered, you're not putting them in the correct location in  
the deferred callback chain.


More information about the Twisted-Python mailing list