Ignore FindRecentlyPushedNewBranches err (#31164)

Fix #31163
pull/29222/head^2
wxiaoguang 8 months ago committed by GitHub
parent ce751761ce
commit d612a24e3e
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