Add error handling into kir.jobs.daily.generate_weeks.range_end