Commit 35fb84c5 authored by duanjinfei's avatar duanjinfei

add log

parent 1859e356
...@@ -294,12 +294,12 @@ func (t *TaskHandler) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage) ...@@ -294,12 +294,12 @@ func (t *TaskHandler) ComputeTaskHandler(taskMsg *nodeManagerV1.PushTaskMessage)
Msg: "success", Msg: "success",
Res: apiRes, Res: apiRes,
} }
log.WithField("res", res).Info("model resp")
apiResBody, err := json.Marshal(res) apiResBody, err := json.Marshal(res)
if err != nil { if err != nil {
log.WithError(err).Error("json marshal upload oss uri") log.WithError(err).Error("json marshal upload oss uri")
return return
} }
log.WithField("apiResBody", string(apiResBody)).Info("model resp")
taskExecResult.TaskRespBody = apiResBody taskExecResult.TaskRespBody = apiResBody
} }
} }
......
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