public void Process(ExceptionArgs exceptionArgs)
    {
      if (exceptionArgs.ExceptionContext.ExceptionHandled)
      {
        return;
      }

      this.HandleException(exceptionArgs.ExceptionContext);
    }
 public void Process(ExceptionArgs args)
 {
     if (args == null) return;
     var publications = _service.GetApplicablePublications(new Guid(Constants.PipelineEventIds.ApplicationMvcException));
     if (!publications.Any())
         return;
     var message = $"MVC error occured on item {args.PageContext.Item.Paths.Path}. \n" +
                   $"{args.Message} \n";
     foreach (var publication in publications)
     {
         foreach (var channel in publication.GetChannels())
         {
             _message.Text = message;
             _message.UpdateChannelInfo(channel, publication);
             _service.PublishMessage(_message);
         }
     }
 }