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),