Added raised error in schedule.