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