pulibrary/lib_jobs

Staff Directory job failed with file not found

Closed this issue · 1 comments

Expected behavior

The Staff Directory job should run automatically

Actual behavior

The job failed with a file not found error

Steps to replicate

Impact of this bug

The staff directory will not be updated until the job resumes

Honeybadger link and code snippet, if applicable

https://app.honeybadger.io/projects/100710/faults/101019375

def removed
--
12 | today_report = File.new(WebStaff::StaffDirectoryGenerator.report_filename)
13 | yesterday_report = File.new(WebStaff::StaffDirectoryGenerator.yesterday_filename)
14 | differ = WebStaff::StaffDirectoryDifference.new(new_report: today_report, old_report: yesterday_report)

Implementation notes, if any

The job runs successfully