diff --git a/routers/repo/ai_model_manage.go b/routers/repo/ai_model_manage.go index eb71c3809..3068ced7c 100644 --- a/routers/repo/ai_model_manage.go +++ b/routers/repo/ai_model_manage.go @@ -725,6 +725,7 @@ func isOper(ctx *context.Context, modelUserId int64) bool { func ShowModelConvertPageInfo(ctx *context.Context) { log.Info("ShowModelConvertInfo start.") if !isQueryRight(ctx) { + log.Info("no right.") ctx.NotFound(ctx.Req.URL.RequestURI(), nil) return } @@ -745,6 +746,7 @@ func ShowModelConvertPageInfo(ctx *context.Context) { RepoID: repoId, }) if err != nil { + log.Info("query db error." + err.Error()) ctx.ServerError("Cloudbrain", err) return }