提交 8f708859 编写于 作者: G gongweibao

fix bugs

上级 a94d2174
...@@ -414,7 +414,7 @@ func (s *Service) TaskFailed(taskID TaskID, dummy *int) error { ...@@ -414,7 +414,7 @@ func (s *Service) TaskFailed(taskID TaskID, dummy *int) error {
t, ok := s.taskQueues.Pending[taskID.ID] t, ok := s.taskQueues.Pending[taskID.ID]
if !ok { if !ok {
err := errors.New("pending task not found") err := errors.New("pending task not found")
log.WithFields(s.logFields()).Warningln("TaskFailed:Pending task #%d not found.", taskID) log.WithFields(s.logFields()).Warningln("TaskFailed:Pending task #%v not found.", taskID)
return err return err
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册