var jqopt = new jQueryAjaxOptions
{
Url = Model.Helper.ServiceEndpoint,
Type = "Get"
};
var req = jQuery.Ajax(jqopt);
req.Success(_ => { Log("Ajax succeeded: " + _.ToString()); });
req.Fail(_ => { Log("Calling back after failure!!" + _.ToString()); });
I need to see the error message instead of object _ in the error
Here are the signatures for the success and error callbacks
Here’s my Helper.Log method: