Skip to content

Commit d612a24

Browse files
authored
Ignore FindRecentlyPushedNewBranches err (#31164)
Fix #31163
1 parent ce75176 commit d612a24

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

routers/web/repo/view.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -1047,8 +1047,7 @@ func renderHomeCode(ctx *context.Context) {
10471047
baseRepoPerm.CanRead(unit_model.TypePullRequests) {
10481048
ctx.Data["RecentlyPushedNewBranches"], err = git_model.FindRecentlyPushedNewBranches(ctx, ctx.Doer, opts)
10491049
if err != nil {
1050-
ctx.ServerError("FindRecentlyPushedNewBranches", err)
1051-
return
1050+
log.Error("FindRecentlyPushedNewBranches failed: %v", err)
10521051
}
10531052
}
10541053
}

0 commit comments

Comments
 (0)