Exemplo n.º 1
0
        protected virtual void OnJobFailed(JobInfo jobInfo)
        {
            Logger.Info($"The job '{jobInfo.Group}.{jobInfo.Name}' has finished with result: FAILURE");

            JobExecutionFailed?.Invoke(this,
                                       new JobOperationEventArgs {
                Job = jobInfo
            });
        }
Exemplo n.º 2
0
 private void OnJobExecutionFailed(IJob job, Exception exception)
 {
     JobExecutionFailed?.Invoke(this, new JobExecutionFailureEventArgs(job, exception));
 }