diff --git a/services/repository/push.go b/services/repository/push.go index e18c6685e3..57cba042de 100644 --- a/services/repository/push.go +++ b/services/repository/push.go @@ -278,7 +278,7 @@ func pushUpdates(optsList []*repo_module.PushUpdateOptions) error { if setting.Repository.PullRequest.RetargetChildrenOnMerge { if err := pull_service.RetargetBranchPulls(ctx, pusher, repo.ID, branch, repo.DefaultBranch); err != nil { - return err + log.Error("retargetBranchPulls failed: %v", err) } }