public virtual GetJobResponse GetJob(string teamName, string jobId) { return(PolicyService.ExecuteRetryAndCapture400Errors( "ContentModeratorService.GetJob", ApiKeys.ContentModeratorRetryInSeconds, () => { var result = ContentModeratorRepository.GetJob(teamName, jobId); return result; }, null)); }
public virtual GetJobResponse GetJob(string teamName, string jobId) { try { var result = ContentModeratorRepository.GetJob(teamName, jobId); return(result); } catch (Exception ex) { Logger.Error("ContentModeratorService.GetJob failed", this, ex); } return(null); }