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

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Wed Mar 5 16:01:53 MST 2014


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

Jean-Paul




More information about the Twisted-Python mailing list