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

[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