ServiceExceptionHandler usage on RestServiceBase<T>
I'm trying to use the ServiceExceptionHandler on my Serivce which extends RestServiceBase<TViewModel> I can use the AppHost.ServiceExceptionHandler , that's working fine. I need the user info from the HttpRequest , thats not available at AppHost level. So I'm trying to use the ServiceExceptionHandler on Service level. Though I set the delegate on service ctor , it's null when exception thrown on OnGet method public class StudentService : RestServiceBase<Student> { public StudentService() { ServiceExceptionHandler = (request, exception) => { logger.Error(string.Format("{0} - {1} \n Request : {2