[Freeipa-devel] [PATCH] 493 Print PublicError traceback when in debug mode

Martin Kosek mkosek at redhat.com
Thu Jan 22 16:49:44 UTC 2015


On 01/22/2015 04:09 PM, Martin Basti wrote:
> On 22/01/15 12:25, Martin Kosek wrote:
>> The framework only shows traceback for the internal/unknown errors,
>> recognized PublicErrors are simply passed back to the FreeIPA
>> clients.
>>
>> However, sometimes it would help to see a traceback of the
>> PublicError to for example see exactly which line returns it.
>>
>> https://fedorahosted.org/freeipa/ticket/4847
>>
>> ----
>>
>> "if api.env.debug" may seem redundant in this case, my motivation was not to
>> invoke exception trace formatting every time a public error is thrown even when
>> debug is not enabled.
>>
>> Martin
>>
> 
> ACK, works as expected.
> 

Pushed to:
master: 834c911f9603ae77ac2483f154d62a5f0670c297
ipa-4-1: 877321ec74f9fe1a583257de8cb9c8430f15cb45

Martin




More information about the Freeipa-devel mailing list