Ticket #2853 defect new
findFailure result is used exclusively, ignoring new traceback
| Reported by: | Peaker | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
findFailure finds the old failure that was raised. Then, if a failure is found, it uses it as the failure, and dumps any new traceback information.
It might make more sense to chain the failures so that both tracebacks exist.
In older Twisted, inlineCallbacks used to give only the traceback within the generator and the code that errback'd its deferred (without the traceback of the failure that is being errback'd). In newer Twisted, inlineCallbacks now gives only the traceback within the failure that was errback'd.
It could be nicer to have both tracebacks via Failure chaining.
Change History
Note: See
TracTickets for help on using
tickets.
