conflict-test-feat-20240117-001 #88

Merged
chenhao merged 12 commits from conflict-test-feat-20240117-001 into test 2024-02-02 07:44:18 +08:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 19953dddb3 - Show all commits

View File

@ -48,7 +48,10 @@ func NewCronService() *CronService {
//设置日志查看handler
exec.LogHandler(customLogHandle)
//注册任务handler
logger.Fatal(exec.Run())
if err := exec.Run(); err != nil {
logger.Error("xxl-job executor init fail: %v", err)
return
}
return new(CronService)
}