[Twisted-Python] t.w.client.Agent exceptions

Glyph Lefkowitz glyph at twistedmatrix.com
Wed Mar 5 18:19:12 MST 2014


On Mar 5, 2014, at 3:01 PM, exarkun at twistedmatrix.com wrote:

> On 10:08 pm, glyph at twistedmatrix.com wrote:
>> On Mar 5, 2014, at 9:23 AM, Phil Mayers <p.mayers at imperial.ac.uk> wrote:
>>> All,
>>> 
>>> I'm having a head-poundingly annoying time getting detailed exception info out of the new Agent stuff.
>>> 
>>> Specifically, I have some bug inside my code somewhere, but I can't get decent tracebacks out because _WrapperException is the base class for RequestGenerationFailed, but there's no public (non-underscore- prefixed) way to get that.
>>> 
>>> It seems like an API error; how is one supposed to err.track/check other than importing a non-public API?
>> 
>> You're right; this is a bug in Agent.
>> 
>> <http://twistedmatrix.com/trac/ticket/5310>
> 
> Happy Ash Wednesday - https://twistedmatrix.com/trac/ticket/5310#comment:5

I've reviewed it, so, at least the public alias part should be fixed soon :).

-glyph

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4124 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20140305/8811a1be/attachment-0002.bin>


More information about the Twisted-Python mailing list