From 62138f4aa2d26da25343b1f7528a00c43c07293f Mon Sep 17 00:00:00 2001 From: zouap Date: Thu, 30 Sep 2021 17:06:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=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/user_data_analysis.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/routers/repo/user_data_analysis.go b/routers/repo/user_data_analysis.go index de7e07d0d..bc449c8f8 100644 --- a/routers/repo/user_data_analysis.go +++ b/routers/repo/user_data_analysis.go @@ -19,8 +19,9 @@ func TimeingCountData() { wikiPath := models.WikiPath(repoRecord.OwnerName, repoRecord.Name) wikiRepo, commit, err := FindWikiRepoCommitByWikiPath(wikiPath) if err != nil { - log.Error("query error.") + log.Error("wiki not exist. wikiPath=" + wikiPath) } else { + log.Info("wiki exist, wikiPath=" + wikiPath) entries, err := commit.ListEntries() if err != nil { if wikiRepo != nil { @@ -50,7 +51,7 @@ func TimeingCountData() { } else { log.Info("json=" + string(jsonObj)) } - + log.Info("wikiName=" + wikiName + " SubURL=" + wiki_service.NameToSubURL(wikiName)) pages = append(pages, PageMeta{ Name: wikiName, SubURL: wiki_service.NameToSubURL(wikiName),