[Twisted-Python] how to write a safe catch-all

Chris Withers chris at simplistix.co.uk
Wed Sep 29 18:56:16 EDT 2010


On 29/09/2010 22:06, exarkun at twistedmatrix.com wrote:
>> That's one side of things, sure, but how can I write a scheduler which
>> handles the current situation?
>
> Beats me.

So, if some buggy code that should be doing a deferred callback/errback 
instead raises an exception, you're basically screwed?

There's really no way to write a "safety belt" handler that will record 
the problem but then keep going?!

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk



More information about the Twisted-Python mailing list