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