0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 06:21:23 +01:00

Ignore FindRecentlyPushedNewBranches err (#31164)

Fix #31163
This commit is contained in:
wxiaoguang 2024-05-30 10:24:22 +08:00 committed by GitHub
parent ce751761ce
commit d612a24e3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1047,8 +1047,7 @@ func renderHomeCode(ctx *context.Context) {
baseRepoPerm.CanRead(unit_model.TypePullRequests) { baseRepoPerm.CanRead(unit_model.TypePullRequests) {
ctx.Data["RecentlyPushedNewBranches"], err = git_model.FindRecentlyPushedNewBranches(ctx, ctx.Doer, opts) ctx.Data["RecentlyPushedNewBranches"], err = git_model.FindRecentlyPushedNewBranches(ctx, ctx.Doer, opts)
if err != nil { if err != nil {
ctx.ServerError("FindRecentlyPushedNewBranches", err) log.Error("FindRecentlyPushedNewBranches failed: %v", err)
return
} }
} }
} }