Just change configuration IncludeErrorDetailPolicy
to LocalOnly
and the details will not be sent to the client.
Here: http://www.asp.net/web-api/overview/extensibility/configuring-aspnet-web-api
Just change configuration IncludeErrorDetailPolicy
to LocalOnly
and the details will not be sent to the client.
Here: http://www.asp.net/web-api/overview/extensibility/configuring-aspnet-web-api