Better error message on build_schedule