fix🐛: 修复关闭中的job能够启动问题(#638)

This commit is contained in:
zhangwenjian committed 2022-05-28 00:34:08 +08:00
1 parent 88030e301a
commit 717903a2b6
2 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -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)