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

Martin Basti mbasti at redhat.com
Thu Jan 22 15:09:42 UTC 2015


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.

-- 
Martin Basti

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150122/63d98f1c/attachment.htm>


More information about the Freeipa-devel mailing list