The default behavior of a [webmaster] is attributed to the ASPX page so that the caller can return the error. We are using JSN to these methods, and the only way to capture exceptions is to have an attempt / catch in every webmap on the site or using a JavaScript callback with error (which unacceptable negative to highlight the error Aspect client).
Is there a way to manage these exceptions worldwide by using the Health Monitoring setup in ASP.NET?
I do not know about health monitoring, but I normally have a normal cover The endpoint code that runs inside. It records the actual exception, but always throws a general exception above the limit.
Public Fixed T wrapAjaxRequestsToCatchException & lt; T & gt; (Func & lt; T & gt; wrappedDelegate) where T: JsonBase, new () Wrapped Delegate (); } Hold (exception preceding) {var errResponse = new T () {successful = false, message = getErrorMessage (ex)}; // Exception error log log. LogAgexEvents (string format ("AJX exception: {0}", former .toasting ()), system.gnagnostics.vant login entry error; return errResponse;}} < / Html>
Comments
Post a Comment