[spyne] Custom fault string from exception
burak.arslan at arskom.com.tr
Mon Sep 1 13:08:16 UTC 2014
On 09/01/14 15:41, Rinat Shigapov wrote:
> At the moment spyne uses `get_fault_string_from_exception` global
> function to construct messages from server errors. This default is
> secure but inconvenient in trusted environments.
> I want to be able to override this function per application basis. I
> think that `get_fault_string_from_exception` can be a method of
> `Application` class.
> Is it a good idea?
Yes, you could even make it depend on a parameter. e.g. Application(
..., exception_detail=True) so subclassing is not needed for the most
More information about the people