private void SendEventFromFile(string fullPath)
 {
     try
     {
         var @event = ReadFileEvent(fullPath);
         if (@event != null)
         {
             basicObservable.OnNext(@event);
         }
     }
     catch (Exception e)
     {
         logger.Error(e, "Error while reading event file {0}", fullPath);
     }
 }
Пример #2
0
 private void SendEventFromFile(string fullPath)
 {
     try
     {
         var @event = ReadFileEvent(fullPath);
         if (@event != null)
         {
             basicObservable.OnNext(@event);
         }
     }
     catch (Exception e)
     {
         Log.Error()
         .Message("Error while reading event file")
         .Exception(e)
         .Property("event-file", fullPath)
         .Write();
     }
 }