[Twisted-Python] problems with tracebacks

Jean-Paul Calderone exarkun at divmod.com
Fri Aug 4 15:55:33 MDT 2006


On Fri, 04 Aug 2006 23:16:00 +0200, Manlio Perillo <manlio_perillo at libero.it> wrote:
>
>        msg = flatten(email)
>    except Exception, reason:
>        return defer.fail(reason)
>

Here you create a Deferred with a Failure with no traceback associated
with it.  Try returning "defer.fail()" instead.

Jean-Paul




More information about the Twisted-Python mailing list