Skip to content

Commit

Permalink
Ignore FindRecentlyPushedNewBranches err (#31164) (#31171)
Browse files Browse the repository at this point in the history
Backport #31164
  • Loading branch information
wxiaoguang authored May 30, 2024
1 parent f0d55e4 commit cc64d4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions routers/web/repo/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -1047,8 +1047,7 @@ func renderHomeCode(ctx *context.Context) {
baseRepoPerm.CanRead(unit_model.TypePullRequests) {
ctx.Data["RecentlyPushedNewBranches"], err = git_model.FindRecentlyPushedNewBranches(ctx, ctx.Doer, opts)
if err != nil {
ctx.ServerError("FindRecentlyPushedNewBranches", err)
return
log.Error("FindRecentlyPushedNewBranches failed: %v", err)
}
}
}
Expand Down

0 comments on commit cc64d4d

Please sign in to comment.