You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In above link they mentioned that there is new ExceptionLogger that can be used to log all unhanded exceptions in ASP.Net Web API. I could also see that you have implemented ElmahExceptionLogger : ExceptionLogger.
Hi,
I see that in the documentation it is mentioned to register "ElmahHandleErrorApiAttribute" using below code.
GlobalConfiguration.Configuration.Filters.Add(new ElmahHandleErrorApiAttribute());
But ElmahHandleErrorApiAttribute does not trace all exceptions as per the Web API documentation http://www.asp.net/web-api/overview/error-handling/web-api-global-error-handling
In above link they mentioned that there is new ExceptionLogger that can be used to log all unhanded exceptions in ASP.Net Web API. I could also see that you have implemented ElmahExceptionLogger : ExceptionLogger.
So I think documentation might require some update as mentioned in link "http://blog.elmah.io/logging-to-elmah-io-from-web-api/"
The text was updated successfully, but these errors were encountered: