change log to logger in the process definition service class

This commit is contained in:
zhuangchong 2023-04-21 17:19:47 +08:00
parent a64421e8e7
commit 74f154d3ae

View File

@ -2371,7 +2371,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro
return result; return result;
} }
if (!CronUtils.isValidExpression(scheduleObj.getCrontab())) { if (!CronUtils.isValidExpression(scheduleObj.getCrontab())) {
log.error("CronExpression verify failure, cron:{}.", scheduleObj.getCrontab()); logger.error("CronExpression verify failure, cron:{}.", scheduleObj.getCrontab());
putMsg(result, Status.REQUEST_PARAMS_NOT_VALID_ERROR, scheduleObj.getCrontab()); putMsg(result, Status.REQUEST_PARAMS_NOT_VALID_ERROR, scheduleObj.getCrontab());
return result; return result;
} }