[Twisted-Python] Catching all the exceptions in a Twisted program

Facundo Batista facundobatista at gmail.com
Sat Nov 6 14:00:05 EDT 2010


On Mon, Oct 25, 2010 at 9:29 AM,  <exarkun at twistedmatrix.com> wrote:

>>  Is there a better way to do this?  Actually, this is working correctly,
>>  but I don't know if it's the right way to do it, and don't want to
>>  depend of DebugInfo() being called always in this case.
>
> You should add a log observer that watches for errors.
>
> http://twistedmatrix.com/documents/9.0.0/core/howto/logging.html

Thanks Jean-Paul!

Regards,

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/



More information about the Twisted-Python mailing list