Skip to content

Commit 468d996

Browse files
committed
Ignore FindRecentlyPushedNewBranches err (go-gitea#31164)
Fix go-gitea#31163
1 parent f0d55e4 commit 468d996

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)