Hi, im developing a web api2 application to integrate with GP2015. But my web api 2 couldn't catch any econnect exception error! May i know why?(But it did catch exception error)
Code as Below:
...
catch (eConnectException exc)
{
throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError)
{
Content = new StringContent(exc.ToString()),
ReasonPhrase = "Critical Exception"
});
}
...