I’ve got a WCF service which swallows up exceptions thrown in called methods and passing them on to the client. This is fine for DEBUG mode, and I’ve got a feeling I turned this functionality on, but how do you turn it off?
Any help much appreciated.
Check the
includeExceptionDetailInFaultsattribute of theserviceDebugelement in the web.config file for your service. Setting this attribute to “false” should prevent exception details from being returned to the client.