コード例 #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
            });
        }
コード例 #2
0
 private void OnJobExecutionFailed(IJob job, Exception exception)
 {
     JobExecutionFailed?.Invoke(this, new JobExecutionFailureEventArgs(job, exception));
 }