> > > exceptions in the autogenerated send_METHOD functions are not propagated > (Twisted) >
A related py:twisted exception handling issue is that unexpected exceptions passed in via errbacks to the write_results_exception_METHOD functions are not handled, but cause the connection to be closed. Here is a patch that sends unexpected exceptions on the wire, like in standard thrift, as TApplicationException UNKNOWN exceptions. It also adds a function setUnknownErrorHandler to the Processor, to be able to log errors or obtain stack traces on the server side, for example. -- Mattias de Zalenski Software Developer Spotify Tel: +46 70 487 74 63 Fax: +46 8 510 62 416 This e-mail (including any attachments) may contain information that is confidential and/or privileged. It is intended only for the recipient(s). If you have reason to believe that you are not the intended recipient of this e-mail, please contact the sender immediately and delete the e-mail from your computer.
