We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2d6cdf commit 0d61e49Copy full SHA for 0d61e49
routers/web/repo/compare.go
@@ -732,14 +732,14 @@ func CompareDiff(ctx *context.Context) {
732
733
headBranches, _, err := ci.HeadGitRepo.GetBranchNames(0, 0)
734
if err != nil {
735
- ctx.ServerError("GetTagNamesByRepoID", err)
+ ctx.ServerError("GetBranches", err)
736
return
737
}
738
ctx.Data["HeadBranches"] = headBranches
739
740
headTags, err := repo_model.GetTagNamesByRepoID(ctx, ci.HeadRepo.ID)
741
742
- ctx.ServerError("GetTags", err)
+ ctx.ServerError("GetTagNamesByRepoID", err)
743
744
745
ctx.Data["HeadTags"] = headTags
0 commit comments