From 0fa5942fc7084abd7fb107f52dcc274dd13e29ef Mon Sep 17 00:00:00 2001 From: zouap Date: Wed, 13 Jul 2022 14:50:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Bug=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/ai_model_convert.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routers/repo/ai_model_convert.go b/routers/repo/ai_model_convert.go index c36e19914..0ab305d51 100644 --- a/routers/repo/ai_model_convert.go +++ b/routers/repo/ai_model_convert.go @@ -101,6 +101,7 @@ func SaveModelConvert(ctx *context.Context) { if err == nil { for _, convert := range convertList { if convert.Name == name { + log.Info("convert.Name=" + name + " convert.id=" + convert.ID) ctx.JSON(200, map[string]string{ "result_code": "1", "message": ctx.Tr("repo.modelconvert.manage.create_error1"), @@ -108,6 +109,7 @@ func SaveModelConvert(ctx *context.Context) { return } if isRunningTask(convert.Status) { + log.Info("convert.Status=" + convert.Status + " convert.id=" + convert.ID) ctx.JSON(200, map[string]string{ "result_code": "1", "message": ctx.Tr("repo.modelconvert.manage.create_error2"),