fix🐛: 修复关闭中的job能够启动问题(#638)
This commit is contained in:
1 parent
88030e301a
commit
717903a2b6
2 files changed
+8
-1
No files matched your search
@@ -62,7 +62,7 @@ func (e SysJob) StartJobForService(c *gin.Context) {
|
||||
err = s.StartJob(&v)
|
||||
if err != nil {
|
||||
log.Errorf("GetCrontabKey error, %s", err.Error())
|
||||
e.Error(500, err, "")
|
||||
e.Error(500, err, err.Error())
|
||||
return
|
||||
}
|
||||
e.OK(nil, s.Msg)
|
||||
|
||||
Reference in new issue
Block a user