Ticket #4659 enhancement closed duplicate

Opened 4 years ago

Last modified 12 months ago

twisted.web._newclient._WrapperException makes it a little tedious to debug

Reported by: djfroofy Owned by:
Priority: low Milestone:
Component: web Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description (last modified by glyph) (diff)

Getting a traceback (e.g. reason.printTraceback) with _WrapperException leads to something inscrutable. Example:

Unhandled Error
        Traceback (most recent call last):
        Failure: twisted.web._newclient.RequestGenerationFailed: [<twisted.python.failure.Failure <type 'exceptions.AttributeError'>>]

I don't know if it's possible but it would be nice to somehow get a meaningful traceback without having to introspect the exception type and doing stuff like:

for reason in reason.value.reasons:

Change History


Changed 3 years ago by <automation>

  • owner exarkun deleted


Changed 2 years ago by glyph

  • description modified (diff)

(fixing formatting)


Changed 2 years ago by glyph

#5345 is related to this.


Changed 12 months ago by therve

  • status changed from new to closed
  • resolution set to duplicate


Changed 12 months ago by therve

Closed in favor of #5310.

Note: See TracTickets for help on using tickets.