fix: invalid schedule should only warn in logs (#683)

This commit is contained in:
Rhys Arkins 2017-08-17 11:22:30 +02:00 committed by GitHub
parent ddb1629d9a
commit f2f15c0650

View file

@ -69,7 +69,7 @@ function isScheduledNow(config) {
}
const [validSchedule, errorMessage] = hasValidSchedule(configSchedule);
if (!validSchedule) {
config.logger.error(errorMessage);
config.logger.warn(errorMessage);
return true;
}
let now = moment();