[Twisted-Python] global exception handler

2010-08-12 Thread Zoran Bosnjak
Hello all, is there a possibility to have a global (application wide) exception handler in twisted application? I would like to stop application in case of any unhandled error in deferred callbacks. If application is run from twistd ..., is it correct to stop application like this? def quit(failu

Re: [Twisted-Python] global exception handler

2010-08-12 Thread Itamar Turner-Trauring
On Thu, 2010-08-12 at 14:26 +0200, Zoran Bosnjak wrote: > Hello all, > is there a possibility to have a global (application wide) exception > handler in twisted application? I would like to stop application in case > of any unhandled error in deferred callbacks. Why not add an error handler yourse

Re: [Twisted-Python] How to bisect Twisted?

2010-08-12 Thread Peter Westlake
On Wed, 11 Aug 2010 17:50 +0100, "Jonathan Lange" wrote: > On Wed, Aug 11, 2010 at 5:30 PM, Peter Westlake > wrote: > > In the Git version of the Twisted source code, there are tags for > > releases, e.g. the revision with SHA id > > 85a6a0f9e3c4ea22d1d72d4ca8eb0c08ee99ca85 corresponds to 8.0.0.

Re: [Twisted-Python] How to bisect Twisted?

2010-08-12 Thread Peter Westlake
On Thu, 12 Aug 2010 12:49 +1000, "Tim Allen" wrote: > On Wed, Aug 11, 2010 at 05:30:36PM +0100, Peter Westlake wrote: > > In the Git version of the Twisted source code, there are tags for > > releases, e.g. the revision with SHA id > > 85a6a0f9e3c4ea22d1d72d4ca8eb0c08ee99ca85 corresponds to 8.0.0.