Commit a00a0c4b authored by vicotor's avatar vicotor

update log

parent ab6b71b3
......@@ -405,7 +405,7 @@ func (wm *WorkerManager) manageWorker(worker *Worker) error {
"result length": len(result.TaskResultBody),
}).Info("got result from worker")
if result.TaskExecuteCode == 303 {
log.WithField("result data", result.TaskResultBody).WithField("task", result.TaskId).Info("got worker result body")
log.WithField("result data", string(result.TaskResultBody)).WithField("task", result.TaskId).Info("got worker result body")
}
// verify result and make a new signature.
data, exist := worker.recentTask.Get(result.TaskId)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment