Is it possible to set ExceptionFilterAttribute On Surface Controller ?
Hi,
I've tried to create a ExceptionFilterAttribute.
public class ApiExceptionFilter : ExceptionFilterAttribute
{
public override void OnException(HttpActionExecutedContext context)
{
base.OnException(context);
}
}
And set the attribute to the Surface controller
[ApiExceptionFilter]
public class MyController : Umbraco.Web.Mvc.RenderMvcController
{
}
But whenever a request is thrown in this controller, it doesn't hit the ApiExceptionFilter
Is it possible to set ExceptionFilterAttribute On Surface Controller ?
Hi, I've tried to create a ExceptionFilterAttribute.
And set the attribute to the Surface controller
But whenever a request is thrown in this controller, it doesn't hit the ApiExceptionFilter
Any ideas? Thank you.
is working on a reply...