[Twisted-Python] Re: [Twisted-commits] aaaaargh. the makeidentity test was FAILING, and we never noticed, cause Deferred catches exceptions in errback (this fixes failure, not the Deferred issue)

Itamar Shtull-Trauring twisted at itamarst.org
Mon May 20 06:57:56 EDT 2002


Andrew Bennetts wrote:

> Incidentally, I've got a workaround for the errback problem in test_ftp.py.
> It's not pretty, but it works ok.

I've fixed this the correct way - runtests now replaces log.deferr() so that
exceptions get raised, not logged. This means anywhere that we have:

   try:
       foo()
   except:
       log.deferr()

The exception will be raised, not logged, and this almost certianly includes 
Deferreds.






More information about the Twisted-Python mailing list