Example #1
0
 public void OnException(ExceptionContext context)
 {
     _logger.LogException("ExceptionFilter", "Unhandle exception from application", context.Exception);
     context.Result = new StatusCodeResult((int)HttpStatusCode.InternalServerError);
 }