Ignore FindRecentlyPushedNewBranches err (#31164) (#31171)

Backport #31164
pull/31153/head^2
wxiaoguang 6 months ago committed by GitHub
parent f0d55e4819
commit cc64d4d2b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      routers/web/repo/view.go

@ -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)
}
}
}

Loading…
Cancel
Save