protected override void Processor() { try { logger.Debug("Process Started"); messagePipline.Drive().Wait(); logger.Debug("Process Completed"); } catch (AggregateException agex) { var sysException = agex.InnerException as ScrapySystemException; if (sysException != null) { logger.Error(sysException); if (sysException.Action == ScrapySystemException.SystemNeedToShutDown) { this.Terminate(); } } logger.Error(agex); } catch (Exception ex) { logger.Error(ex); } }
protected override void Processor() { try { logger.Info("Process Started"); messagePipline.Drive().Wait(); logger.Info("Process Completed"); } catch (Exception ex) { logger.Error(ex); } }