diff --git a/routers/repo/cloudbrain.go b/routers/repo/cloudbrain.go index 75850bbce..107b034d1 100755 --- a/routers/repo/cloudbrain.go +++ b/routers/repo/cloudbrain.go @@ -345,6 +345,7 @@ func cloudBrainShow(ctx *context.Context, tpName base.TplName) { } if result != nil { + log.Info("task is ...") jobRes, _ := models.ConvertToJobResultPayload(result.Payload) jobRes.Resource.Memory = strings.ReplaceAll(jobRes.Resource.Memory, "Mi", "MB") taskRoles := jobRes.TaskRoles @@ -371,6 +372,8 @@ func cloudBrainShow(ctx *context.Context, tpName base.TplName) { } ctx.Data["result"] = jobRes + } else { + log.Info("error:" + err.Error()) } ctx.Data["task"] = task